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

Chris Lattner lattner at cs.uiuc.edu
Thu Feb 13 10:57:00 PST 2003


Changes in directory llvm:

Makefile.common updated: 1.77 -> 1.78

---
Log message:

Fix profile builds


---
Diffs of the changes:

Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.77 llvm/Makefile.common:1.78
--- llvm/Makefile.common:1.77	Wed Feb 12 14:45:45 2003
+++ llvm/Makefile.common	Thu Feb 13 10:56:30 2003
@@ -153,18 +153,19 @@
 
 # -Wno-unused-parameter
 CompileCommonOpts := -Wall -W  -Wwrite-strings -Wno-unused -I$(LEVEL)/include
+CompileOptimizeOpts := -O3 -DNDEBUG -finline-functions -fshort-enums
 
 # 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 -fomit-frame-pointer
-CompileP := $(CompileO) $(PROFILE)
+CompileO := $(Compile) $(CompileOptimizeOpts) -felide-constructors -fomit-frame-pointer
+CompileP := $(Compile) $(CompileOptimizeOpts) -felide-constructors $(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 -fomit-frame-pointer
-CompileCP := $(CompileCO) $(PROFILE)
+CompileCO := $(CompileC) $(CompileOptimizeOpts) -felide-constructors -fomit-frame-pointer
+CompileCP := $(CompileC) $(CompileOptimizeOpts) -felide-constructors $(PROFILE)
 
 
 # Link final executable





More information about the llvm-commits mailing list