diff options
| author | Zongchun Yu <zongchun.yu@nxp.com> | 2016-04-05 17:54:28 +0800 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-04-19 15:51:10 -0400 |
| commit | 12c601cd2df52ad123b337647eeb990f46422a25 (patch) | |
| tree | 9fd33cda1e85643fe6baa408ccb67bd0b4c166b4 /recipes-devtools/go-cross/go-1.5/fix-target-cc-for-build.patch | |
| parent | 841dc6f3a2a77bda2a1cd2bb7bcd6f3e709699db (diff) | |
| download | meta-virtualization-12c601cd2df52ad123b337647eeb990f46422a25.tar.gz | |
go-cross: uprev to 1.5.2
* Add go-native as build bootstrap for go-cross.
* Upgrade go-cross to v1.5.2
Signed-off-by: Zongchun Yu <zongchun.yu@nxp.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-devtools/go-cross/go-1.5/fix-target-cc-for-build.patch')
| -rw-r--r-- | recipes-devtools/go-cross/go-1.5/fix-target-cc-for-build.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-devtools/go-cross/go-1.5/fix-target-cc-for-build.patch b/recipes-devtools/go-cross/go-1.5/fix-target-cc-for-build.patch new file mode 100644 index 00000000..adfeb6b5 --- /dev/null +++ b/recipes-devtools/go-cross/go-1.5/fix-target-cc-for-build.patch | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | Index: go/src/make.bash | ||
| 2 | =================================================================== | ||
| 3 | --- go.orig/src/make.bash 2015-07-29 13:28:11.334031696 -0700 | ||
| 4 | +++ go/src/make.bash 2015-07-29 13:36:55.814465630 -0700 | ||
| 5 | @@ -158,7 +158,7 @@ | ||
| 6 | fi | ||
| 7 | |||
| 8 | echo "##### Building packages and commands for $GOOS/$GOARCH." | ||
| 9 | -CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd | ||
| 10 | +CC="$CC_FOR_TARGET" "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd | ||
| 11 | echo | ||
| 12 | |||
| 13 | rm -f "$GOTOOLDIR"/go_bootstrap | ||
