golang: Use gcc for host build

This commit is contained in:
Fredrik Fornwall 2017-11-24 12:21:01 +01:00
parent bed09ee8b1
commit d15eb00c3f

View File

@ -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 \