Delete enhanced_opt feature macro for standalone

Signed-off-by: 胡瀛 <roger.huying@hisilicon.com>
This commit is contained in:
胡瀛 2024-05-09 19:41:02 +08:00
parent 8f45967d7a
commit 45c4cd28ec

View File

@ -287,8 +287,7 @@ config("ark_jsruntime_common_config") {
"-Wno-unused-but-set-variable",
]
if (is_ohos && is_clang && (target_cpu == "arm" || target_cpu == "arm64") &&
enhanced_opt) {
if (is_ohos && is_clang && (target_cpu == "arm" || target_cpu == "arm64")) {
if (js_runtime_feature_enable_pgo) {
cflags = [
"-fprofile-use=" + rebase_path(