mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 01:44:32 +04:00
golang: Enable loongarch64 for Go compiler and packages
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
committed by
Tianling Shen
parent
0c645cb6a6
commit
32a22201db
@@ -128,10 +128,11 @@ unexport \
|
|||||||
go_arch=$(subst \
|
go_arch=$(subst \
|
||||||
aarch64,arm64,$(subst \
|
aarch64,arm64,$(subst \
|
||||||
i386,386,$(subst \
|
i386,386,$(subst \
|
||||||
|
loongarch64,loong64,$(subst \
|
||||||
mipsel,mipsle,$(subst \
|
mipsel,mipsle,$(subst \
|
||||||
mips64el,mips64le,$(subst \
|
mips64el,mips64le,$(subst \
|
||||||
powerpc64,ppc64,$(subst \
|
powerpc64,ppc64,$(subst \
|
||||||
x86_64,amd64,$(1)))))))
|
x86_64,amd64,$(1))))))))
|
||||||
|
|
||||||
GO_OS:=linux
|
GO_OS:=linux
|
||||||
GO_ARCH:=$(call go_arch,$(ARCH))
|
GO_ARCH:=$(call go_arch,$(ARCH))
|
||||||
@@ -202,7 +203,7 @@ endif
|
|||||||
|
|
||||||
# Target Go
|
# Target Go
|
||||||
|
|
||||||
GO_ARCH_DEPENDS:=@(aarch64||arm||i386||i686||mips||mips64||mips64el||mipsel||powerpc64||riscv64||x86_64)
|
GO_ARCH_DEPENDS:=@(aarch64||arm||i386||i686||loongarch64||mips||mips64||mips64el||mipsel||powerpc64||riscv64||x86_64)
|
||||||
|
|
||||||
|
|
||||||
# ASLR/PIE
|
# ASLR/PIE
|
||||||
|
|||||||
Reference in New Issue
Block a user