From 6c8b6b7e0bafcdd83ff9ba6c2578f3bebd8ee8ce Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 24 Nov 2017 12:21:01 +0100 Subject: [PATCH] golang: Use gcc for host build --- packages/golang/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/golang/build.sh b/packages/golang/build.sh index 0986ead50..c2b90ae4a 100644 --- a/packages/golang/build.sh +++ b/packages/golang/build.sh @@ -19,7 +19,7 @@ termux_step_make_install () { cd $TERMUX_PKG_SRCDIR/src env CC_FOR_TARGET=$CC \ CXX_FOR_TARGET=$CXX \ - CC=clang \ + CC=gcc \ GO_LDFLAGS="-extldflags=-pie" \ GOROOT_BOOTSTRAP=$GOROOT \ GOROOT_FINAL=$TERMUX_GODIR \