mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-27 05:10:41 +00:00
Add -fomit-frame-pointer when optimizing
llvm-svn: 5547
This commit is contained in:
parent
1b7b1786a5
commit
b702add8dc
@ -157,13 +157,13 @@ CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused -I$(LEVEL)/include
|
||||
# Compile a cpp file, don't link...
|
||||
Compile := $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts)
|
||||
CompileG := $(Compile) -g -D_DEBUG
|
||||
CompileO := $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug
|
||||
CompileO := $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fshort-enums -fomit-frame-pointer
|
||||
CompileP := $(CompileO) $(PROFILE)
|
||||
|
||||
# Compile a c file, don't link...
|
||||
CompileC := $(CC) -c $(CPPFLAGS) $(CCFLAGS) $(CompileCommonOpts)
|
||||
CompileCG := $(CompileC) -g -D_DEBUG
|
||||
CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug
|
||||
CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -fshort-enums -fomit-frame-pointer
|
||||
CompileCP := $(CompileCO) $(PROFILE)
|
||||
|
||||
|
||||
|
@ -157,13 +157,13 @@ CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused -I$(LEVEL)/include
|
||||
# Compile a cpp file, don't link...
|
||||
Compile := $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $(CompileCommonOpts)
|
||||
CompileG := $(Compile) -g -D_DEBUG
|
||||
CompileO := $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug
|
||||
CompileO := $(Compile) -O3 -DNDEBUG -finline-functions -felide-constructors -fshort-enums -fomit-frame-pointer
|
||||
CompileP := $(CompileO) $(PROFILE)
|
||||
|
||||
# Compile a c file, don't link...
|
||||
CompileC := $(CC) -c $(CPPFLAGS) $(CCFLAGS) $(CompileCommonOpts)
|
||||
CompileCG := $(CompileC) -g -D_DEBUG
|
||||
CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -fshort-enums ## DISABLE -freg-struct-return because of gcc3.2 bug
|
||||
CompileCO := $(CompileC) -O3 -DNDEBUG -finline-functions -fshort-enums -fomit-frame-pointer
|
||||
CompileCP := $(CompileCO) $(PROFILE)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user