mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-27 00:15:58 +00:00
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
This commit is contained in:
parent
f89c269484
commit
74a057b41f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user