Skip to content

Commit 31ec65c

Browse files
committed
golang-native: disable CGO_ENABLED when building go1.4 bootstrap
To avoid this issue: golang/go#13114
1 parent 245a1a6 commit 31ec65c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes-devtools/golang/golang-native.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export CGO_ENABLED = "1"
1717

1818
do_configure() {
1919
cd ${WORKDIR}/go1.4/go/src
20-
GOROOT=${WORKDIR}/go1.4/go ./make.bash
20+
CGO_ENABLED=0 GOROOT=${WORKDIR}/go1.4/go ./make.bash
2121
}
2222

2323
do_compile() {

0 commit comments

Comments
 (0)