[cfe-commits] r80641 - /cfe/tags/Apple/clang/Makefile
Mike Stump
mrs at apple.com
Mon Aug 31 16:40:44 PDT 2009
Author: mrs
Date: Mon Aug 31 18:40:43 2009
New Revision: 80641
URL: http://llvm.org/viewvc/llvm-project?rev=80641&view=rev
Log:
Remerge in r80471.
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=80641&r1=80640&r2=80641&view=diff
==============================================================================
--- cfe/tags/Apple/clang/Makefile (original)
+++ cfe/tags/Apple/clang/Makefile Mon Aug 31 18:40:43 2009
@@ -7,14 +7,21 @@
UserType = Developer
ToolType = Commands
Install_Prefix = /Developer/usr
+
+# Default is build assertions disabled.
+ifndef ENABLE_ASSERTIONS
+Assertions_Configure_Flag = --disable-assertions
+else
+Assertions_Configure_Flag = --enable-assertions
+endif
+
Extra_Configure_Flags = --enable-targets=x86,arm \
--enable-optimized \
- --disable-assertions \
+ $(Assertions_Configure_Flag) \
--with-extra-options='-g -DDISABLE_SMART_POINTERS' \
- --disable-pic \
--disable-doxygen \
$(HOST_TARGET_FLAGS)
-Extra_CC_Flags = -mdynamic-no-pic
+
GnuAfterInstall = post-install install-plist
# It's a GNU Source project
More information about the cfe-commits
mailing list