mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
Add -fomit-frame-pointer when optimizing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5547 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ecd78ac1cb
commit
3aed67875d
@ -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