1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

... and fix the REQUIRES_RTTI condition.

llvm-svn: 81524
This commit is contained in:
Daniel Dunbar 2009-09-11 15:47:24 +00:00
parent 76590ff496
commit f54dbed77f

View File

@ -343,8 +343,8 @@ ifdef REQUIRES_FRAME_POINTER
LD.Flags := $(filter-out -fomit-frame-pointer,$(LD.Flags))
endif
# IF REQUIRES_RTTI=1 is specified then don't disable run-time type id
ifndef REQUIRES_RTTI
# If REQUIRES_RTTI=1 is specified then don't disable run-time type id.
ifeq ($(REQUIRES_RTTI), 1)
CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
CXXFLAGS := $(filter-out -fno-rtti,$(CXXFLAGS))
endif