Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
endif
# Go
+export GOARCH
+export GOOS = linux
export GOPATH = $(HOME)/gopath
+ifeq "$(BUILD_ARCH)" "x86_64"
+ GOARCH = amd64
+endif
+
+ifeq "$(BUILD_ARCH)" "aarch64"
+ GOARCH = arm64
+endif
+
###############################################################################
# Common Macro Definitions
###############################################################################