summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-04-10 16:46:04 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-04-10 16:46:04 +0000
commit854071c163792db42d784a6f15a575405b7b4d70 (patch)
tree5caac56457133b48a9e659a0251036af9cbcd920 /Makefile.rules
parenta79a8e5420f76bd0461353c4fd233d07b2837abd (diff)
downloadllvm-854071c163792db42d784a6f15a575405b7b4d70.tar.gz
llvm-854071c163792db42d784a6f15a575405b7b4d70.tar.bz2
llvm-854071c163792db42d784a6f15a575405b7b4d70.tar.xz
ENABLE_ASSERTIONS -> DISABLE_ASSERTIONS
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.rules b/Makefile.rules
index dd307a1435..115100ef2a 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -222,8 +222,8 @@ else
endif
endif
-# If ENABLE_ASSERTIONS=1 is specified (make command line or configured),
-# then enable assertions by defining the appropriate preprocessor symbols.
+# If DISABLE_ASSERTIONS=1 is specified (make command line or configured),
+# then disable assertions by defining the appropriate preprocessor symbols.
ifdef DISABLE_ASSERTIONS
BuildMode := $(BuildMode)-Asserts
CXX.Flags += -DNDEBUG
@@ -1527,7 +1527,7 @@ $(DistDir)/.makedistdir: $(DistSources)
$(EchoCmd) Removing old $(DistDir) ; \
$(RM) -rf $(DistDir); \
$(EchoCmd) Making 'all' to verify build ; \
- $(MAKE) ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1 all ; \
+ $(MAKE) ENABLE_OPTIMIZED=1 all ; \
fi
$(Echo) Building Distribution Directory $(DistDir)
$(Verb) $(MKDIR) $(DistDir)
@@ -1588,7 +1588,7 @@ $(DistDir)/.makedistdir: $(DistSources)
if test "$$subdir" \!= "." ; then \
new_distdir="$(DistDir)/$$subdir" ; \
test -d "$$new_distdir" || $(MKDIR) "$$new_distdir" || exit 1; \
- ( cd $$subdir && $(MAKE) ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1 \
+ ( cd $$subdir && $(MAKE) ENABLE_OPTIMIZED=1 \
DistDir="$$new_distdir" distdir ) || exit 1; \
fi; \
done