mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Work around the fact that GNU libstdc++'s debug mode uses RTTI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71871 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b2e82d07a7
commit
3b00162fa1
@ -375,6 +375,12 @@ ifeq ($(OS),MingW)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef ENABLE_EXPENSIVE_CHECKS
|
||||
# GNU libstdc++ uses RTTI if you define _GLIBCXX_DEBUG, which we did above.
|
||||
# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40160
|
||||
CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
|
||||
endif
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Directory locations
|
||||
#--------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user