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

Reid Spencer reid at x10sys.com
Fri Nov 10 16:00:48 PST 2006



Changes in directory llvm:

Makefile.rules updated: 1.408 -> 1.409
---
Log message:

Allow ENABLE_OPTIMIZED=0 to turn off optimization (turn on debug).


---
Diffs of the changes:  (+1 -1)

 Makefile.rules |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.408 llvm/Makefile.rules:1.409
--- llvm/Makefile.rules:1.408	Thu Nov  2 14:25:49 2006
+++ llvm/Makefile.rules	Fri Nov 10 18:00:31 2006
@@ -213,7 +213,7 @@
   C.Flags   := $(OPTIMIZE_OPTION) -pg -g
   LD.Flags  := $(OPTIMIZE_OPTION) -pg -g
 else
-  ifdef ENABLE_OPTIMIZED
+  ifeq ($(ENABLE_OPTIMIZED),1)
     BuildMode := Release
     # Don't use -fomit-frame-pointer on Darwin or FreeBSD.
     ifneq ($(OS),FreeBSD)






More information about the llvm-commits mailing list