Skip to content

Commit

Permalink
ENABLE_ASSERTIONS -> DISABLE_ASSERTIONS
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27558 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Reid Spencer committed Apr 10, 2006
1 parent a79a8e5 commit 854071c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 854071c

Please sign in to comment.