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

@@ -23,13 +23,7 @@ import (
var (
mipsCflags = []string{
"-fomit-frame-pointer",
"-funswitch-loops",
"-Umips",
// TARGET_RELEASE_CFLAGS
"-fgcse-after-reload",
"-frerun-cse-after-loop",
"-frename-registers",
}
mipsClangCflags = append(mipsCflags, []string{