diff options
author | Chris Lattner <sabre@nondot.org> | 2003-02-12 20:45:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-02-12 20:45:45 +0000 |
commit | 3aed67875d5bd693bc33765060164b5e2427d6a8 (patch) | |
tree | 738cb5d5f5b7a4d9ab7f97411df98c0e98f17da4 /Makefile.common | |
parent | ecd78ac1cb0f31a6a206eb82dff25eac249309fc (diff) |
Add -fomit-frame-pointer when optimizing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.common b/Makefile.common index 25794fa540..0fc2d762f9 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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) |