A Release-Asserts build makes it sound like assertions
authorDuncan Sands <baldrick@free.fr>
Fri, 27 Mar 2009 09:41:56 +0000 (09:41 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 27 Mar 2009 09:41:56 +0000 (09:41 +0000)
are turned on, while in fact they are turned off.  Name
this Release-NoAsserts instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67831 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index a17f3b1d0b17904e75b16483ec86a548f5ebf8fa..22056f7b18c617cfdb527e3938783014fb01dceb 100644 (file)
@@ -293,7 +293,7 @@ endif
 # 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
+  BuildMode := $(BuildMode)-NoAsserts
   CPP.Defines += -DNDEBUG
 else
   CPP.Defines += -D_DEBUG