diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-24 20:21:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-24 20:21:50 +0000 |
commit | c61503838535703239fc2904ab75e734da08bac1 (patch) | |
tree | e143c78c2ecb52a68fcc7083d596ef0573e55dcd | |
parent | c96d508184cc1a3f2cd16cd7219a2deef75e14c4 (diff) | |
download | external_llvm-c61503838535703239fc2904ab75e734da08bac1.zip external_llvm-c61503838535703239fc2904ab75e734da08bac1.tar.gz external_llvm-c61503838535703239fc2904ab75e734da08bac1.tar.bz2 |
libs that need EH need RTTI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94376 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules index 6e95998..6f75d04 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -374,6 +374,9 @@ endif # IF REQUIRES_EH=1 is specified then don't disable exceptions ifndef REQUIRES_EH CXX.Flags += -fno-exceptions +else + # If the library requires EH, it also requires RTTI. + REQUIRES_RTTI := 1 endif ifdef REQUIRES_FRAME_POINTER |