summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmsupport
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2010-07-22 19:09:34 +0000
committerrpaulo <rpaulo@FreeBSD.org>2010-07-22 19:09:34 +0000
commitf2d14f41cfaba8b7f13b549c183c6c939670cfad (patch)
tree8f739694685ee950c59aaa294112a414c90d2028 /lib/clang/libllvmsupport
parent85cc5d9d3e19a527f230ceab8f6e2f965484aae8 (diff)
downloadFreeBSD-src-f2d14f41cfaba8b7f13b549c183c6c939670cfad.zip
FreeBSD-src-f2d14f41cfaba8b7f13b549c183c6c939670cfad.tar.gz
Build clang libraries by default with -fno-exceptions and with
-fno-rtti. The clang libaries that really use exceptions and virtual functions can enable LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI respectively. This saves space on the resulting binaries and follows what's being done upstream. Submitted by: Dimitry Andric <dimitry at andric.com>
Diffstat (limited to 'lib/clang/libllvmsupport')
-rw-r--r--lib/clang/libllvmsupport/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/clang/libllvmsupport/Makefile b/lib/clang/libllvmsupport/Makefile
index 3a96db2..1ed069e 100644
--- a/lib/clang/libllvmsupport/Makefile
+++ b/lib/clang/libllvmsupport/Makefile
@@ -48,5 +48,6 @@ SRCS= APFloat.cpp \
regexec.c \
regfree.c \
regstrlcpy.c
+LLVM_REQUIRES_RTTI=
.include "../clang.lib.mk"
OpenPOWER on IntegriCloud