From: Stuart Hastings Date: Thu, 14 Jan 2010 00:22:05 +0000 (+0000) Subject: Enable assertions by default for Apple-style builds. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ee6c04e24575da8c684584eb7ec3726f9f3240ff;p=oota-llvm.git Enable assertions by default for Apple-style builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93380 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/buildit/GNUmakefile b/utils/buildit/GNUmakefile index 997188333c1..585d4856ffa 100644 --- a/utils/buildit/GNUmakefile +++ b/utils/buildit/GNUmakefile @@ -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