golang: Use clang for native build
This commit is contained in:
parent
48d883791b
commit
b4a6e58893
@ -21,7 +21,7 @@ termux_step_make_install () {
|
||||
cd $TERMUX_PKG_SRCDIR/src
|
||||
env CC_FOR_TARGET=$CC \
|
||||
CXX_FOR_TARGET=$CXX \
|
||||
CC=gcc \
|
||||
CC=clang \
|
||||
GO_LDFLAGS="-extldflags=-pie" \
|
||||
GOROOT_BOOTSTRAP=$GOROOT \
|
||||
GOROOT_FINAL=$TERMUX_GODIR \
|
||||
|
@ -5,6 +5,7 @@ PACKAGES="$PACKAGES ant" # Used by jack and aptsigner.
|
||||
PACKAGES="$PACKAGES asciidoc"
|
||||
PACKAGES="$PACKAGES automake"
|
||||
PACKAGES="$PACKAGES bison"
|
||||
PACKAGES="$PACKAGES clang" # Used by golang, useful to have same compiler building.
|
||||
PACKAGES="$PACKAGES curl" # Used for fetching sources.
|
||||
PACKAGES="$PACKAGES flex"
|
||||
PACKAGES="$PACKAGES gettext" # Provides 'msgfmt' which the apt build uses.
|
||||
|
Loading…
x
Reference in New Issue
Block a user