summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-03-27 11:35:00 +0000
committerDuncan Sands <baldrick@free.fr>2009-03-27 11:35:00 +0000
commit74a057b41f1210d1fd0aa11cb707c2c634a0c905 (patch)
treebae9c6106387caaec1fb87f053915e6b0644ce6c /Makefile.rules
parentf89c269484c8c8c877383a26cf7c471ec9be405b (diff)
downloadllvm-74a057b41f1210d1fd0aa11cb707c2c634a0c905.tar.gz
llvm-74a057b41f1210d1fd0aa11cb707c2c634a0c905.tar.bz2
llvm-74a057b41f1210d1fd0aa11cb707c2c634a0c905.tar.xz
Revert previous change in favour of an explanatory
comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67833 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 22056f7b18..5856e01c13 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -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