Revert previous change in favour of an explanatory
authorDuncan Sands <baldrick@free.fr>
Fri, 27 Mar 2009 11:35:00 +0000 (11:35 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 27 Mar 2009 11:35:00 +0000 (11:35 +0000)
comment.

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

Makefile.rules

index 22056f7b18c617cfdb527e3938783014fb01dceb..5856e01c13c84338dfa58ee9cb55ab2cedea4742 100644 (file)
@@ -293,7 +293,8 @@ 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)-NoAsserts
+  # Indicate that assertions are turned off using a minus sign
+  BuildMode := $(BuildMode)-Asserts
   CPP.Defines += -DNDEBUG
 else
   CPP.Defines += -D_DEBUG