golang: fix build error
This commit is contained in:
parent
c17c417c43
commit
4644f57bec
@ -12,6 +12,8 @@ TERMUX_PKG_NO_STATICSPLIT=true
|
|||||||
termux_step_make_install() {
|
termux_step_make_install() {
|
||||||
termux_setup_golang
|
termux_setup_golang
|
||||||
|
|
||||||
|
CGO_LDFLAGS=${CGO_LDFLAGS/-Wl,-z,relro,-z,now/}
|
||||||
|
|
||||||
TERMUX_GOLANG_DIRNAME=${GOOS}_$GOARCH
|
TERMUX_GOLANG_DIRNAME=${GOOS}_$GOARCH
|
||||||
TERMUX_GODIR=$TERMUX_PREFIX/lib/go
|
TERMUX_GODIR=$TERMUX_PREFIX/lib/go
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user