diff options
author | Colin Cross <ccross@android.com> | 2017-11-02 23:10:13 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2017-11-03 22:28:12 -0700 |
commit | 0f1f679f5e5586703ed2255180a27ed6a44dd7e6 (patch) | |
tree | 0c35c9fa6e9175703d6c34d021e0f3f6545468aa /cc | |
parent | 324a457440feee29a5e9c08bb1f311112809185c (diff) | |
download | build_soong-0f1f679f5e5586703ed2255180a27ed6a44dd7e6.tar.gz build_soong-0f1f679f5e5586703ed2255180a27ed6a44dd7e6.tar.bz2 build_soong-0f1f679f5e5586703ed2255180a27ed6a44dd7e6.zip |
Move -fomit-frame-pointer to armCflags
-fomit-frame-pointer was specified twice, once for arm and once for
thumb. Move it to the shared cflags.
Bug: 68855788
Test: m checkbuild
Change-Id: Iab1299c247808f1a2542b468084600b7c32996e8
Diffstat (limited to 'cc')
-rw-r--r-- | cc/config/arm_device.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/config/arm_device.go b/cc/config/arm_device.go index 80ec3240..2c439f06 100644 --- a/cc/config/arm_device.go +++ b/cc/config/arm_device.go @@ -38,6 +38,8 @@ var ( "-fgcse-after-reload", "-frerun-cse-after-loop", "-frename-registers", + + "-fomit-frame-pointer", } armCppflags = []string{ @@ -51,7 +53,6 @@ var ( } armArmCflags = []string{ - "-fomit-frame-pointer", "-fstrict-aliasing", "-funswitch-loops", } @@ -59,7 +60,6 @@ var ( armThumbCflags = []string{ "-mthumb", "-Os", - "-fomit-frame-pointer", } armArchVariantCflags = map[string][]string{ |