mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 21:41:38 +00:00
ENABLE_ASSERTIONS -> DISABLE_ASSERTIONS
llvm-svn: 27558
This commit is contained in:
parent
3fa05e3c55
commit
13d545ba43
@ -222,8 +222,8 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If ENABLE_ASSERTIONS=1 is specified (make command line or configured),
|
# If DISABLE_ASSERTIONS=1 is specified (make command line or configured),
|
||||||
# then enable assertions by defining the appropriate preprocessor symbols.
|
# then disable assertions by defining the appropriate preprocessor symbols.
|
||||||
ifdef DISABLE_ASSERTIONS
|
ifdef DISABLE_ASSERTIONS
|
||||||
BuildMode := $(BuildMode)-Asserts
|
BuildMode := $(BuildMode)-Asserts
|
||||||
CXX.Flags += -DNDEBUG
|
CXX.Flags += -DNDEBUG
|
||||||
@ -1527,7 +1527,7 @@ $(DistDir)/.makedistdir: $(DistSources)
|
|||||||
$(EchoCmd) Removing old $(DistDir) ; \
|
$(EchoCmd) Removing old $(DistDir) ; \
|
||||||
$(RM) -rf $(DistDir); \
|
$(RM) -rf $(DistDir); \
|
||||||
$(EchoCmd) Making 'all' to verify build ; \
|
$(EchoCmd) Making 'all' to verify build ; \
|
||||||
$(MAKE) ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1 all ; \
|
$(MAKE) ENABLE_OPTIMIZED=1 all ; \
|
||||||
fi
|
fi
|
||||||
$(Echo) Building Distribution Directory $(DistDir)
|
$(Echo) Building Distribution Directory $(DistDir)
|
||||||
$(Verb) $(MKDIR) $(DistDir)
|
$(Verb) $(MKDIR) $(DistDir)
|
||||||
@ -1588,7 +1588,7 @@ $(DistDir)/.makedistdir: $(DistSources)
|
|||||||
if test "$$subdir" \!= "." ; then \
|
if test "$$subdir" \!= "." ; then \
|
||||||
new_distdir="$(DistDir)/$$subdir" ; \
|
new_distdir="$(DistDir)/$$subdir" ; \
|
||||||
test -d "$$new_distdir" || $(MKDIR) "$$new_distdir" || exit 1; \
|
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; \
|
DistDir="$$new_distdir" distdir ) || exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user