[llvm-commits] [llvm-gcc-4.2] r93424 - /llvm-gcc-4.2/trunk/GNUmakefile

Bill Wendling isanbard at gmail.com
Thu Jan 14 02:20:19 PST 2010


Author: void
Date: Thu Jan 14 04:20:19 2010
New Revision: 93424

URL: http://llvm.org/viewvc/llvm-project?rev=93424&view=rev
Log:
Use ENABLE_ASSERTIONS throughout.

Modified:
    llvm-gcc-4.2/trunk/GNUmakefile

Modified: llvm-gcc-4.2/trunk/GNUmakefile
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/GNUmakefile?rev=93424&r1=93423&r2=93424&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/GNUmakefile (original)
+++ llvm-gcc-4.2/trunk/GNUmakefile Thu Jan 14 04:20:19 2010
@@ -60,11 +60,9 @@
 ENABLE_LLVM = false
 endif
 
-# Unless assertions are forced on in the GMAKE command line, disable them.
-ifdef ENABLE_ASSERTIONS
-LLVM_ASSERTIONS := yes
-else
-LLVM_ASSERTIONS := no
+# Unless assertions are forced on in the GMAKE command line, enable them.
+ifndef ENABLE_ASSERTIONS
+ENABLE_ASSERTIONS := yes
 endif
 
 ifndef LLVMCORE_PATH
@@ -87,7 +85,7 @@
 	cd $(OBJROOT) && \
 	  $(SRC)/build_gcc "$(RC_ARCHS)" "$(TARGETS)" \
 	    $(SRC) $(PREFIX) $(DSTROOT) $(SYMROOT) $(ENABLE_LLVM) \
-	    $(LLVM_ASSERTIONS) $(LLVMCORE_PATH) \
+	    $(ENABLE_ASSERTIONS) $(LLVMCORE_PATH) \
 	    $(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion) 
 
 # LLVM LOCAL end





More information about the llvm-commits mailing list