build: make linux/arm64 package

Fixes #3042
This commit is contained in:
Frank Schroeder 2017-05-15 10:50:48 +02:00 committed by Frank Schröder
parent bab25b1c84
commit b7929b8bce
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ DIR="$( cd -P "$( dirname "$SOURCE" )/.." && pwd )"
cd "$DIR" cd "$DIR"
# Determine the arch/os combos we're building for # Determine the arch/os combos we're building for
XC_ARCH=${XC_ARCH:-"386 amd64 arm"} XC_ARCH=${XC_ARCH:-"386 amd64 arm arm64"}
XC_OS=${XC_OS:-"solaris darwin freebsd linux windows"} XC_OS=${XC_OS:-"solaris darwin freebsd linux windows"}
# Delete the old dir # Delete the old dir
@ -34,7 +34,7 @@ echo "==> Building..."
"`which gox`" \ "`which gox`" \
-os="${XC_OS}" \ -os="${XC_OS}" \
-arch="${XC_ARCH}" \ -arch="${XC_ARCH}" \
-osarch="!darwin/arm" \ -osarch="!darwin/arm !darwin/arm64" \
-ldflags "${GOLDFLAGS}" \ -ldflags "${GOLDFLAGS}" \
-output "pkg/{{.OS}}_{{.Arch}}/consul" \ -output "pkg/{{.OS}}_{{.Arch}}/consul" \
-tags="${GOTAGS}" \ -tags="${GOTAGS}" \