mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 06:23:00 +02:00
Config: Set some Go environment variables
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
7f4780ba71
commit
b4863d7d14
10
lfs/Config
10
lfs/Config
@@ -117,8 +117,18 @@ ifeq "$(BUILD_ARCH)" "aarch64"
|
||||
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
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user