X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Makefile.rules;h=d83f2fa548b39f0adb795bc4e654e7a2e3791fc3;hb=3f931b8c0e3f27aeb52d8acf209c64e182defb3f;hp=13efb39ffa216c2cf9294389183ebd69263fda97;hpb=8475ec068c213d0bf73f7686d82491a8f12e3b32;p=oota-llvm.git diff --git a/Makefile.rules b/Makefile.rules index 13efb39ffa2..d83f2fa548b 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -244,6 +244,11 @@ ifndef REQUIRES_EH CXX.Flags += -fno-exceptions endif +# IF REQUIRES_RTTI=1 is specified then don't disable run-time type id +ifndef REQUIRES_RTTI +# CXX.Flags += -fno-rtti +endif + # If DISABLE_ASSERTIONS=1 is specified (make command line or configured), # then disable assertions by defining the appropriate preprocessor symbols. ifdef DISABLE_ASSERTIONS @@ -1354,15 +1359,12 @@ all:: $(YaccFiles:%.y=$(PROJ_SRC_DIR)/%.cpp.cvs) %.h: %.y # Rule for building the bison based parsers... -$(PROJ_SRC_DIR)/%.cpp $(PROJ_SRC_DIR)/%.h : $(PROJ_SRC_DIR)/%.y ifneq ($(BISON),) +$(PROJ_SRC_DIR)/%.cpp $(PROJ_SRC_DIR)/%.h : $(PROJ_SRC_DIR)/%.y $(Echo) "Bisoning $*.y" $(Verb) $(BISON) -v -d -p $(