forked from OSchip/llvm-project
Work around the fact that GNU libstdc++'s debug mode uses RTTI.
llvm-svn: 71871
This commit is contained in:
parent
12c3a5cedf
commit
e609ab00a5
|
@ -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…
Reference in New Issue