summaryrefslogtreecommitdiffstats
path: root/usr.bin/clang
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 /usr.bin/clang
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 'usr.bin/clang')
-rw-r--r--usr.bin/clang/tblgen/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/clang/tblgen/Makefile b/usr.bin/clang/tblgen/Makefile
index 9cc6878..83741d0 100644
--- a/usr.bin/clang/tblgen/Makefile
+++ b/usr.bin/clang/tblgen/Makefile
@@ -40,6 +40,7 @@ SRCS= ARMDecoderEmitter.cpp \
X86DisassemblerTables.cpp \
X86RecognizableInstr.cpp
MAN=
+LLVM_REQUIRES_EH=
LIBDEPS=llvmsupport llvmsystem
OpenPOWER on IntegriCloud