diff options
author | Chih-Hung Hsieh <chh@google.com> | 2014-08-25 13:57:57 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2014-08-25 16:49:53 -0700 |
commit | 027817476479d3d6af0315ff119507a920e190c7 (patch) | |
tree | 68d8eac4c33c7a74dac95c5cecd2c7b84407583a /core/clang | |
parent | d61f0ffdfc13ce7b563015ea5fdd4513fb7c9d59 (diff) | |
download | build-027817476479d3d6af0315ff119507a920e190c7.zip build-027817476479d3d6af0315ff119507a920e190c7.tar.gz build-027817476479d3d6af0315ff119507a920e190c7.tar.bz2 |
Add GCC only flags to clang .mk files.
BUG: 17258227
Change-Id: Iec9fdb21a9fa31e18a17704beb27bb493c9b7192
Diffstat (limited to 'core/clang')
-rw-r--r-- | core/clang/arm.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/clang/arm.mk b/core/clang/arm.mk index 22c7397..f979409 100644 --- a/core/clang/arm.mk +++ b/core/clang/arm.mk @@ -19,9 +19,15 @@ CLANG_CONFIG_arm_UNKNOWN_CFLAGS := \ -fgcse-after-reload \ -frerun-cse-after-loop \ -frename-registers \ + -fno-align-jumps \ -fno-builtin-sin \ + -fno-caller-saves \ + -fno-early-inlining \ + -fno-move-loop-invariants \ + -fno-partial-inlining \ -fno-strict-volatile-bitfields \ - -fno-align-jumps \ + -fno-tree-copy-prop \ + -fno-tree-loop-optimize \ -Wa,--noexecstack define subst-clang-incompatible-arm-flags |