[llvm-commits] [test-suite] r153692 - /test-suite/trunk/Makefile.rules

Daniel Dunbar daniel at zuster.org
Thu Mar 29 14:36:12 PDT 2012


Author: ddunbar
Date: Thu Mar 29 16:36:11 2012
New Revision: 153692

URL: http://llvm.org/viewvc/llvm-project?rev=153692&view=rev
Log:
[tools] Propagate ORIGINAL_{CC,CXX} explicitly, some users have systems where
otherwise the value of CC (as redefined from TARGET_CC) will propagate and cause
ORIGINAL_CC to be equal to TARGET_CC, which is the exact opposite of the
intent.

Modified:
    test-suite/trunk/Makefile.rules

Modified: test-suite/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.rules?rev=153692&r1=153691&r2=153692&view=diff
==============================================================================
--- test-suite/trunk/Makefile.rules (original)
+++ test-suite/trunk/Makefile.rules Thu Mar 29 16:36:11 2012
@@ -111,7 +111,9 @@
 endif
 
 tools:
-	$(MAKE) -C $(PROJ_OBJ_ROOT)/tools all
+	$(MAKE) -C $(PROJ_OBJ_ROOT)/tools all \
+	  ORIGINAL_CC=$(ORIGINAL_CC) \
+	  ORIGINAL_CXX=$(ORIGINAL_CXX)
 .PHONY: tools
 
 # Print out the directories used for building





More information about the llvm-commits mailing list