summaryrefslogtreecommitdiffstats
path: root/lib/clang/libllvmcore
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/libllvmcore
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/libllvmcore')
-rw-r--r--lib/clang/libllvmcore/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/clang/libllvmcore/Makefile b/lib/clang/libllvmcore/Makefile
index 1215f4e..4fa5471 100644
--- a/lib/clang/libllvmcore/Makefile
+++ b/lib/clang/libllvmcore/Makefile
@@ -35,6 +35,7 @@ SRCS= AsmWriter.cpp \
ValueSymbolTable.cpp \
ValueTypes.cpp \
Verifier.cpp
+LLVM_REQUIRES_RTTI=
TGHDRS= Intrinsics
OpenPOWER on IntegriCloud