aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/buildit/GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/buildit/GNUmakefile b/utils/buildit/GNUmakefile
index 2b6edc2e00..57aac4373a 100644
--- a/utils/buildit/GNUmakefile
+++ b/utils/buildit/GNUmakefile
@@ -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)