mirror of
https://gitee.com/open-loongarch/buildroot.git
synced 2026-10-28 14:07:13 +08:00
26 lines
770 B
Diff
26 lines
770 B
Diff
From 144549037a2a91cc8d7c31f5a0861d9c0cda998b Mon Sep 17 00:00:00 2001
|
|
From: loongson <loongson@loongson.cn>
|
|
Date: Wed, 9 Aug 2023 18:58:48 +0800
|
|
Subject: [PATCH] Add loongarch64 support
|
|
|
|
---
|
|
Makefile.linux | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.linux b/Makefile.linux
|
|
index c338531..1af9f2c 100644
|
|
--- a/Makefile.linux
|
|
+++ b/Makefile.linux
|
|
@@ -20,7 +20,7 @@ COMMANDS += containerd-shim containerd-shim-runc-v1 containerd-shim-runc-v2
|
|
|
|
# check GOOS for cross compile builds
|
|
ifeq ($(GOOS),linux)
|
|
- ifneq ($(GOARCH),$(filter $(GOARCH),mips mipsle mips64 mips64le ppc64 riscv64))
|
|
+ ifneq ($(GOARCH),$(filter $(GOARCH),mips mipsle mips64 mips64le ppc64 riscv64 loong64))
|
|
GO_GCFLAGS += -buildmode=pie
|
|
endif
|
|
endif
|
|
--
|
|
2.17.1
|
|
|