Enable assertions by default for Apple-style builds.
authorStuart Hastings <stuart@apple.com>
Thu, 14 Jan 2010 00:22:05 +0000 (00:22 +0000)
committerStuart Hastings <stuart@apple.com>
Thu, 14 Jan 2010 00:22:05 +0000 (00:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93380 91177308-0d34-0410-b5e6-96231b3b80d8

utils/buildit/GNUmakefile

index 997188333c1b9d6059f7db3fb8e46f16913baef9..585d4856ffa40f21476204479835c9113cd983df 100644 (file)
@@ -34,8 +34,8 @@ DSTROOT = $(OBJROOT)/../dst
 
 PREFIX = /usr/local
 
-# Unless assertions are forced on in the GMAKE command line, disable them.
-ifdef ENABLE_ASSERTIONS
+# Unless assertions are forced on in the GMAKE command line, enable them.
+ifndef ENABLE_ASSERTIONS
 LLVM_ASSERTIONS := yes
 else
 LLVM_ASSERTIONS := no