Revert "Set -fomit-frame-pointer for all devices"

This reverts commit 20823f95e6.

Reason for revert: caused a minor performance regression in some benchmarks.

Bug: 69470341
Test: builds
Change-Id: I1a852b5d7a2aa1d08ecb54617898f814cddd7600
This commit is contained in:
Colin Cross 2017-11-18 00:10:01 +00:00
parent 20823f95e6
commit bc2c7c26e1
3 changed files with 4 additions and 2 deletions

View File

@ -27,7 +27,9 @@ var (
"-msoft-float",
}
armCflags = []string{}
armCflags = []string{
"-fomit-frame-pointer",
}
armCppflags = []string{}

View File

@ -62,7 +62,6 @@ var (
"-fstack-protector-strong",
"-Wa,--noexecstack",
"-D_FORTIFY_SOURCE=2",
"-fomit-frame-pointer",
"-Wstrict-aliasing=2",

View File

@ -22,6 +22,7 @@ import (
var (
mipsCflags = []string{
"-fomit-frame-pointer",
"-Umips",
}