mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 23:25:36 +03:00
Try harder to build x86 :-)
This commit is contained in:
parent
88653861c7
commit
f8fdb63b0b
2 changed files with 6 additions and 4 deletions
|
@ -36,8 +36,10 @@ then
|
|||
fi
|
||||
|
||||
# Check the prerequisite files are in place
|
||||
[ "${PKGARCH}" == "x64" ] && GOARCH=amd64 CGO_ENABLED=0 ./build || \
|
||||
[ "${PKGARCH}" == "x86" ] && GOARCH=386 CGO_ENABLED=0 ./build || \
|
||||
(
|
||||
[ "${PKGARCH}" == "x64" ] && GOOS=windows GOARCH=amd64 CGO_ENABLED=0 ./build
|
||||
[ "${PKGARCH}" == "x86" ] && GOOS=windows GOARCH=386 CGO_ENABLED=0 ./build
|
||||
) || \
|
||||
(
|
||||
echo "failed to build Yggdrasil"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue