[llvm-commits] [llvm] r102239 - /llvm/trunk/Makefile.rules

Nick Lewycky nicholas at mxc.ca
Fri Apr 23 21:56:34 PDT 2010


Author: nicholas
Date: Fri Apr 23 23:56:34 2010
New Revision: 102239

URL: http://llvm.org/viewvc/llvm-project?rev=102239&view=rev
Log:
Don't touch CXXFLAGS. If it's set in the environment then sub-makes will see
the variable that we set as though it came from the user. Fixes PR6835.

Modified:
    llvm/trunk/Makefile.rules

Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=102239&r1=102238&r2=102239&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Fri Apr 23 23:56:34 2010
@@ -388,7 +388,6 @@
 # If REQUIRES_RTTI=1 is specified then don't disable run-time type id.
 ifneq ($(REQUIRES_RTTI), 1)
   CXX.Flags += -fno-rtti
-  CXXFLAGS += -fno-rtti
 endif
 
 ifdef ENABLE_COVERAGE





More information about the llvm-commits mailing list