diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-01-15 15:37:28 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-01-15 15:37:28 +0000 |
| commit | 829000e035f46f2a227a5466e4e427a2f3cc00a9 (patch) | |
| tree | be5a687969f682edded4aa6f13594ffd9aa9030e /utils/buildit/GNUmakefile | |
| parent | 1e7804dbd25b8dbf534c850355d70ad215206f4b (diff) | |
Notes
Diffstat (limited to 'utils/buildit/GNUmakefile')
| -rw-r--r-- | utils/buildit/GNUmakefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/utils/buildit/GNUmakefile b/utils/buildit/GNUmakefile index 997188333c1b9..57aac4373a517 100644 --- a/utils/buildit/GNUmakefile +++ b/utils/buildit/GNUmakefile @@ -34,11 +34,9 @@ DSTROOT = $(OBJROOT)/../dst PREFIX = /usr/local -# 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 # Default is optimized build. @@ -61,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) |
