mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
libs that need EH need RTTI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c96d508184
commit
c615038385
@ -374,6 +374,9 @@ endif
|
|||||||
# IF REQUIRES_EH=1 is specified then don't disable exceptions
|
# IF REQUIRES_EH=1 is specified then don't disable exceptions
|
||||||
ifndef REQUIRES_EH
|
ifndef REQUIRES_EH
|
||||||
CXX.Flags += -fno-exceptions
|
CXX.Flags += -fno-exceptions
|
||||||
|
else
|
||||||
|
# If the library requires EH, it also requires RTTI.
|
||||||
|
REQUIRES_RTTI := 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef REQUIRES_FRAME_POINTER
|
ifdef REQUIRES_FRAME_POINTER
|
||||||
|
Loading…
Reference in New Issue
Block a user