From f2d14f41cfaba8b7f13b549c183c6c939670cfad Mon Sep 17 00:00:00 2001 From: rpaulo Date: Thu, 22 Jul 2010 19:09:34 +0000 Subject: 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 --- usr.bin/clang/tblgen/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'usr.bin/clang') 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 -- cgit v1.1