[cfe-commits] r74309 - /cfe/tags/Apple/clang/Makefile
Daniel Dunbar
daniel at zuster.org
Fri Jun 26 11:43:41 PDT 2009
Author: ddunbar
Date: Fri Jun 26 13:43:41 2009
New Revision: 74309
URL: http://llvm.org/viewvc/llvm-project?rev=74309&view=rev
Log:
Add ENABLE_ASSERTIONS makefile variable.
- To override --disable-assertions in an Apple style build.
Modified:
cfe/tags/Apple/clang/Makefile
Modified: cfe/tags/Apple/clang/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/Apple/clang/Makefile?rev=74309&r1=74308&r2=74309&view=diff
==============================================================================
--- cfe/tags/Apple/clang/Makefile (original)
+++ cfe/tags/Apple/clang/Makefile Fri Jun 26 13:43:41 2009
@@ -9,11 +9,15 @@
Install_Prefix = /Developer/usr
Extra_Configure_Flags = --enable-targets=x86 \
--enable-optimized \
- --disable-assertions \
--with-extra-options='-g -DDISABLE_SMART_POINTERS' \
--disable-pic \
--disable-doxygen \
$(HOST_TARGET_FLAGS)
+
+ifndef ENABLE_ASSERTIONS
+Extra_Configure_Flags += --disable-assertions
+endif
+
Extra_CC_Flags = -mdynamic-no-pic
GnuAfterInstall = post-install install-plist
More information about the cfe-commits
mailing list