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
This commit is contained in:
Colin Cross
2017-11-06 14:05:51 -08:00
parent ea3141d06d
commit b37620f870
6 changed files with 1 additions and 38 deletions

View File

@@ -22,17 +22,10 @@ import (
var (
mips64Cflags = []string{
"-fomit-frame-pointer",
"-funswitch-loops",
"-Umips",
// Help catch common 32/64-bit errors.
"-Werror=implicit-function-declaration",
// TARGET_RELEASE_CFLAGS
"-fgcse-after-reload",
"-frerun-cse-after-loop",
"-frename-registers",
}
mips64ClangCflags = append(mips64Cflags, []string{