diff --git a/cc/config/arm_device.go b/cc/config/arm_device.go index 0f28d1e28..9512fd146 100644 --- a/cc/config/arm_device.go +++ b/cc/config/arm_device.go @@ -27,9 +27,7 @@ var ( "-msoft-float", } - armCflags = []string{ - "-fomit-frame-pointer", - } + armCflags = []string{} armCppflags = []string{} diff --git a/cc/config/global.go b/cc/config/global.go index 44ad30b43..e4a6403a9 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -62,6 +62,7 @@ var ( "-fstack-protector-strong", "-Wa,--noexecstack", "-D_FORTIFY_SOURCE=2", + "-fomit-frame-pointer", "-Wstrict-aliasing=2", diff --git a/cc/config/mips_device.go b/cc/config/mips_device.go index 9709ada47..8b7bae3f2 100644 --- a/cc/config/mips_device.go +++ b/cc/config/mips_device.go @@ -22,7 +22,6 @@ import ( var ( mipsCflags = []string{ - "-fomit-frame-pointer", "-Umips", }