[llvm-commits] [llvm] r81524 - /llvm/trunk/Makefile.rules
Daniel Dunbar
daniel at zuster.org
Fri Sep 11 08:47:24 PDT 2009
Author: ddunbar
Date: Fri Sep 11 10:47:24 2009
New Revision: 81524
URL: http://llvm.org/viewvc/llvm-project?rev=81524&view=rev
Log:
.. and fix the REQUIRES_RTTI condition.
Modified:
llvm/trunk/Makefile.rules
Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=81524&r1=81523&r2=81524&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Fri Sep 11 10:47:24 2009
@@ -343,8 +343,8 @@
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
More information about the llvm-commits
mailing list