diff --git a/core/clang/arm.mk b/core/clang/arm.mk index e66aa6c94..4053bb276 100644 --- a/core/clang/arm.mk +++ b/core/clang/arm.mk @@ -29,8 +29,7 @@ CLANG_CONFIG_arm_UNKNOWN_CFLAGS := \ -fno-partial-inlining \ -fno-strict-volatile-bitfields \ -fno-tree-copy-prop \ - -fno-tree-loop-optimize \ - -Wa,--noexecstack + -fno-tree-loop-optimize define subst-clang-incompatible-arm-flags $(subst -march=armv5te,-march=armv5t,\ diff --git a/core/clang/arm64.mk b/core/clang/arm64.mk index ab395b379..cad7321ec 100644 --- a/core/clang/arm64.mk +++ b/core/clang/arm64.mk @@ -13,8 +13,7 @@ CLANG_CONFIG_arm64_UNKNOWN_CFLAGS := \ -frerun-cse-after-loop \ -frename-registers \ -fno-strict-volatile-bitfields \ - -fno-align-jumps \ - -Wa,--noexecstack + -fno-align-jumps # We don't have any arm64 flags to substitute yet. define subst-clang-incompatible-arm64-flags