A Release-Asserts build makes it sound like assertions

are turned on, while in fact they are turned off.  Name
this Release-NoAsserts instead.

llvm-svn: 67831
This commit is contained in:
Duncan Sands 2009-03-27 09:41:56 +00:00
parent a1be2dcd63
commit af7ae6ce3c
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ endif
# If DISABLE_ASSERTIONS=1 is specified (make command line or configured), # If DISABLE_ASSERTIONS=1 is specified (make command line or configured),
# then disable 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)-NoAsserts
CPP.Defines += -DNDEBUG CPP.Defines += -DNDEBUG
else else
CPP.Defines += -D_DEBUG CPP.Defines += -D_DEBUG