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

Reid Spencer reid at x10sys.com
Mon Apr 10 09:46:17 PDT 2006



Changes in directory llvm:

Makefile.rules updated: 1.359 -> 1.360
---
Log message:

ENABLE_ASSERTIONS -> DISABLE_ASSERTIONS


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

 Makefile.rules |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.359 llvm/Makefile.rules:1.360
--- llvm/Makefile.rules:1.359	Sun Apr  9 18:41:14 2006
+++ llvm/Makefile.rules	Mon Apr 10 11:46:04 2006
@@ -222,8 +222,8 @@
   endif
 endif
 
-# If ENABLE_ASSERTIONS=1 is specified (make command line or configured),
-# then enable assertions by defining the appropriate preprocessor symbols.
+# If DISABLE_ASSERTIONS=1 is specified (make command line or configured),
+# then disable assertions by defining the appropriate preprocessor symbols.
 ifdef DISABLE_ASSERTIONS
   BuildMode := $(BuildMode)-Asserts
   CXX.Flags += -DNDEBUG
@@ -1527,7 +1527,7 @@
 	  $(EchoCmd) Removing old $(DistDir) ; \
 	  $(RM) -rf $(DistDir); \
 	  $(EchoCmd) Making 'all' to verify build ; \
-	  $(MAKE) ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1 all ; \
+	  $(MAKE) ENABLE_OPTIMIZED=1 all ; \
 	fi
 	$(Echo) Building Distribution Directory $(DistDir)
 	$(Verb) $(MKDIR) $(DistDir) 
@@ -1588,7 +1588,7 @@
 	  if test "$$subdir" \!= "." ; then \
 	    new_distdir="$(DistDir)/$$subdir" ; \
 	    test -d "$$new_distdir" || $(MKDIR) "$$new_distdir" || exit 1; \
-	    ( cd $$subdir && $(MAKE) ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1 \
+	    ( cd $$subdir && $(MAKE) ENABLE_OPTIMIZED=1 \
 	      DistDir="$$new_distdir" distdir ) || exit 1; \
 	  fi; \
 	done






More information about the llvm-commits mailing list