Use ENABLE_ASSERTIONS throughout.
authorBill Wendling <isanbard@gmail.com>
Thu, 14 Jan 2010 10:19:55 +0000 (10:19 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 14 Jan 2010 10:19:55 +0000 (10:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93423 91177308-0d34-0410-b5e6-96231b3b80d8

utils/buildit/GNUmakefile

index 2b6edc2e0078c943e1ad3e4f76b634b55e9a80cd..57aac4373a51750d805b9b7d0fe71a8069acf141 100644 (file)
@@ -36,7 +36,7 @@ PREFIX = /usr/local
 
 # Unless assertions are forced on in the GMAKE command line, enable them.
 ifndef ENABLE_ASSERTIONS
-LLVM_ASSERTIONS := yes
+ENABLE_ASSERTIONS := yes
 endif
 
 # Default is optimized build.
@@ -59,7 +59,7 @@ install: $(OBJROOT) $(SYMROOT) $(DSTROOT)
        cd $(OBJROOT) && \
          $(SRC)/utils/buildit/build_llvm "$(RC_ARCHS)" "$(TARGETS)" \
            $(SRC) $(PREFIX) $(DSTROOT) $(SYMROOT) \
-           $(LLVM_ASSERTIONS) $(LLVM_OPTIMIZED) \
+           $(ENABLE_ASSERTIONS) $(LLVM_OPTIMIZED) \
            $(RC_ProjectSourceVersion) $(RC_ProjectSourceSubversion)