[llvm-commits] [llvm] r81523 - /llvm/trunk/Makefile.rules
Daniel Dunbar
daniel at zuster.org
Fri Sep 11 08:45:14 PDT 2009
Author: ddunbar
Date: Fri Sep 11 10:45:13 2009
New Revision: 81523
URL: http://llvm.org/viewvc/llvm-project?rev=81523&view=rev
Log:
Fix REQUIRES_RTTI while awake.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=81523&r1=81522&r2=81523&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Fri Sep 11 10:45:13 2009
@@ -345,7 +345,8 @@
# IF REQUIRES_RTTI=1 is specified then don't disable run-time type id
ifndef REQUIRES_RTTI
- CXX.Flags += -fno-rtti
+ CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
+ CXXFLAGS := $(filter-out -fno-rtti,$(CXXFLAGS))
endif
ifdef ENABLE_COVERAGE
More information about the llvm-commits
mailing list