summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/go-cross/go-1.5/fix-target-cc-for-build.patch
blob: adfeb6b55fe6d93cac27cb07a488f3538db4775b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: go/src/make.bash
===================================================================
--- go.orig/src/make.bash	2015-07-29 13:28:11.334031696 -0700
+++ go/src/make.bash	2015-07-29 13:36:55.814465630 -0700
@@ -158,7 +158,7 @@
 fi
 
 echo "##### Building packages and commands for $GOOS/$GOARCH."
-CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd
+CC="$CC_FOR_TARGET" "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd
 echo
 
 rm -f "$GOTOOLDIR"/go_bootstrap