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 | 8b0a7584ca7a8bdc98254e0aeaf61b98a04250c2 (patch) | |
| tree | e143c78c2ecb52a68fcc7083d596ef0573e55dcd | |
| parent | 28134f4ba56722db7b3a6abe6113520a9b92fa91 (diff) | |
| download | external_llvm-8b0a7584ca7a8bdc98254e0aeaf61b98a04250c2.zip external_llvm-8b0a7584ca7a8bdc98254e0aeaf61b98a04250c2.tar.gz external_llvm-8b0a7584ca7a8bdc98254e0aeaf61b98a04250c2.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 |
