~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab502c2
)
golang: Use gcc for host build
author
Fredrik Fornwall
<fredrik@fornwall.net>
Fri, 24 Nov 2017 11:21:01 +0000
(12:21 +0100)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Sat, 25 Nov 2017 21:39:29 +0000
(22:39 +0100)
packages/golang/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/golang/build.sh
b/packages/golang/build.sh
index
0986ead
..
c2b90ae
100644
(file)
--- 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 \