Skip to content

Commit

Permalink
golang: Enable loongarch64 for Go compiler and packages
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed May 9, 2024
1 parent 0c645cb commit 32a2220
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lang/golang/golang-values.mk
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,11 @@ unexport \
go_arch=$(subst \
aarch64,arm64,$(subst \
i386,386,$(subst \
loongarch64,loong64,$(subst \
mipsel,mipsle,$(subst \
mips64el,mips64le,$(subst \
powerpc64,ppc64,$(subst \
x86_64,amd64,$(1)))))))
x86_64,amd64,$(1))))))))

GO_OS:=linux
GO_ARCH:=$(call go_arch,$(ARCH))
Expand Down Expand Up @@ -202,7 +203,7 @@ endif

# 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
Expand Down

0 comments on commit 32a2220

Please sign in to comment.