debian: Support building on armhf and arm64

This commit is contained in:
Povilas Kanapickas 2017-03-26 00:11:06 +02:00
parent 4eaaaa25c2
commit 3de912f8df

4
debian/rules vendored

@ -8,6 +8,10 @@ ifeq ($(DEB_HOST_ARCH), i386)
export GOARCH := 386
else ifeq ($(DEB_HOST_ARCH), amd64)
export GOARCH := amd64
else ifeq ($(DEB_HOST_ARCH), armhf)
export GOARCH := arm
else ifeq ($(DEB_HOST_ARCH), arm64)
export GOARCH := arm64
endif
BUILD_DIR := obj-$(DEB_HOST_GNU_TYPE)