From d1baa0f001b280213ca18fe5f57b4d07473a4509 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Tue, 12 Jan 2016 15:47:58 -0800 Subject: [PATCH] Remove -Wa,noexecstack from unsupported arm clang flags This was marked as unsupported only on arm[64], even though it works. For soong, we want to keep a single list of unsupported clang flags for all architectures. Change-Id: I9c4ae0f255c549d2346ba7abae57e22c86ddcc61 --- core/clang/arm.mk | 3 +-- core/clang/arm64.mk | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) 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