[llvm-commits] CVS: llvm/Makefile.common

Chris Lattner lattner at cs.uiuc.edu
Wed Feb 12 14:46:03 PST 2003


Changes in directory llvm:

Makefile.common updated: 1.76 -> 1.77

---
Log message:

Add -fomit-frame-pointer when optimizing


---
Diffs of the changes:

Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.76 llvm/Makefile.common:1.77
--- llvm/Makefile.common:1.76	Fri Jan 31 13:00:26 2003
+++ llvm/Makefile.common	Wed Feb 12 14:45:45 2003
@@ -157,13 +157,13 @@
 # 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)
 
 





More information about the llvm-commits mailing list