golang: Use gcc for host build
This commit is contained in:
parent
bed09ee8b1
commit
d15eb00c3f
@ -19,7 +19,7 @@ termux_step_make_install () {
|
|||||||
cd $TERMUX_PKG_SRCDIR/src
|
cd $TERMUX_PKG_SRCDIR/src
|
||||||
env CC_FOR_TARGET=$CC \
|
env CC_FOR_TARGET=$CC \
|
||||||
CXX_FOR_TARGET=$CXX \
|
CXX_FOR_TARGET=$CXX \
|
||||||
CC=clang \
|
CC=gcc \
|
||||||
GO_LDFLAGS="-extldflags=-pie" \
|
GO_LDFLAGS="-extldflags=-pie" \
|
||||||
GOROOT_BOOTSTRAP=$GOROOT \
|
GOROOT_BOOTSTRAP=$GOROOT \
|
||||||
GOROOT_FINAL=$TERMUX_GODIR \
|
GOROOT_FINAL=$TERMUX_GODIR \
|
||||||
|
Loading…
Reference in New Issue
Block a user