aboutsummaryrefslogtreecommitdiffstats
path: root/cc/config/mips_device.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-11-02 22:55:19 -0700
committerColin Cross <ccross@android.com>2017-11-03 11:34:45 -0700
commit133dbe7bb0879a01af45895fb42e8bf58cf8e0f8 (patch)
tree07f640aae2dbd7ed0c07dcba325edc5ee8552dd7 /cc/config/mips_device.go
parent7278afc5a83894aa7883fc10a9e71c22a7c3f3fc (diff)
downloadbuild_soong-133dbe7bb0879a01af45895fb42e8bf58cf8e0f8.tar.gz
build_soong-133dbe7bb0879a01af45895fb42e8bf58cf8e0f8.tar.bz2
build_soong-133dbe7bb0879a01af45895fb42e8bf58cf8e0f8.zip
Consolidate cflags that are set on all devices
Move cflags that are set on all devices to deviceGlobalCflags: -fno-canonical-system-headers -ffunction-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=format-security Bug: 68855788 Test: m checkbuild Change-Id: Iefec689fdd2749013d0cc003b3abec674a85fb74
Diffstat (limited to 'cc/config/mips_device.go')
-rw-r--r--cc/config/mips_device.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/cc/config/mips_device.go b/cc/config/mips_device.go
index f8470bf6..840702ac 100644
--- a/cc/config/mips_device.go
+++ b/cc/config/mips_device.go
@@ -25,17 +25,9 @@ var (
"-fomit-frame-pointer",
"-funswitch-loops",
"-Umips",
- "-ffunction-sections",
"-fdata-sections",
- "-funwind-tables",
- "-fstack-protector-strong",
- "-Wa,--noexecstack",
- "-Werror=format-security",
- "-D_FORTIFY_SOURCE=2",
- "-fno-canonical-system-headers",
// TARGET_RELEASE_CFLAGS
- "-Wstrict-aliasing=2",
"-fgcse-after-reload",
"-frerun-cse-after-loop",
"-frename-registers",