aboutsummaryrefslogtreecommitdiffstats
path: root/cc/config/x86_64_device.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2017-11-06 14:05:51 -0800
committerColin Cross <ccross@android.com>2017-11-14 17:43:33 +0000
commitb37620f8704a2267e52317fe2e201d455a418cfe (patch)
tree3cf5c262462ff00581aa3a457f553ccfce9285db /cc/config/x86_64_device.go
parentea3141d06d611fdb3d9beb48dc0a0a30d944076c (diff)
downloadbuild_soong-b37620f8704a2267e52317fe2e201d455a418cfe.tar.gz
build_soong-b37620f8704a2267e52317fe2e201d455a418cfe.tar.bz2
build_soong-b37620f8704a2267e52317fe2e201d455a418cfe.zip
Remove gcc-specific optimizations
These flags were added for gcc, but are always stripped out when compiling for clang. Since gcc is barely used, removed them. Bug: 68855788 Bug: 68947919 Test: m checkbuild Change-Id: Iae2bda9808dd9499848ce145ccdf71c4c490b80e
Diffstat (limited to 'cc/config/x86_64_device.go')
-rw-r--r--cc/config/x86_64_device.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/cc/config/x86_64_device.go b/cc/config/x86_64_device.go
index e461c457..12f3e6fa 100644
--- a/cc/config/x86_64_device.go
+++ b/cc/config/x86_64_device.go
@@ -22,10 +22,6 @@ import (
var (
x86_64Cflags = []string{
- "-finline-functions",
- "-finline-limit=300",
- "-funswitch-loops",
-
// Help catch common 32/64-bit errors.
"-Werror=implicit-function-declaration",
}