summaryrefslogtreecommitdiff
path: root/package/llvm/patches/patch-Makefile
blob: b1a4c6bcc3a1c994bc42bffd1f9ffda3b1ff7b0e (plain)
1
2
3
4
5
6
7
8
9
10
11
--- llvm-2.9.orig/Makefile	2010-11-29 19:16:10.000000000 +0100
+++ llvm-2.9/Makefile	2011-06-25 12:16:13.422682536 +0200
@@ -115,6 +115,8 @@ cross-compile-build-tools:
 	$(Verb) if [ ! -f BuildTools/Makefile ]; then \
           $(MKDIR) BuildTools; \
 	  cd BuildTools ; \
+	  unset CC ; \
+	  unset CXX ; \
 	  unset CFLAGS ; \
 	  unset CXXFLAGS ; \
 	  $(PROJ_SRC_DIR)/configure --build=$(BUILD_TRIPLE) \