Use ENABLE_ASSERTIONS throughout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93423 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2010-01-14 10:19:55 +00:00
parent ff00a55517
commit dfe7281fab

View 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)