go build style: move GOPATH creation to do_configure()
This commit is contained in:
parent
902807f15e
commit
92d6e1a521
3 changed files with 15 additions and 9 deletions
|
@ -14,6 +14,7 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
|
||||
export GOPATH="${wrksrc}/_build-${pkgname}-xbps"
|
||||
GOSRCPATH="${GOPATH}/src/${go_import_path}"
|
||||
export CGO_CFLAGS="$CFLAGS"
|
||||
export CGO_CPPFLAGS="$CPPFLAGS"
|
||||
export CGO_CXXFLAGS="$CXXFLAGS"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue