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
diff --git a/cc/config/x86_device.go b/cc/config/x86_device.go
index 8fd65f7..b9ce4af 100644
--- a/cc/config/x86_device.go
+++ b/cc/config/x86_device.go
@@ -21,11 +21,7 @@
)
var (
- x86Cflags = []string{
- "-finline-functions",
- "-finline-limit=300",
- "-funswitch-loops",
- }
+ x86Cflags = []string{}
x86ClangCflags = append(x86Cflags, []string{
"-msse3",