File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ TRIMPATH := -trimpath
3131
3232GO_BUILDMODE :=
3333# Enable dynamic PIE executables on supported platforms.
34- ifneq (,$(filter $(GOARCH ) ,386 amd64 arm arm64 ppc64le riscv64 s390x) )
34+ ifneq (,$(filter $(GOARCH ) ,386 amd64 arm arm64 loong64 ppc64le riscv64 s390x) )
3535 ifeq (,$(findstring -race,$(EXTRA_FLAGS)))
3636 GO_BUILDMODE := "-buildmode=pie"
3737 endif
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ runc binary | seccomp
2222` ppc64le ` | ` SCMP_ARCH_PPC64LE `
2323` riscv64 ` | ` SCMP_ARCH_RISCV64 `
2424` s390x ` | ` SCMP_ARCH_S390 ` , ` SCMP_ARCH_S390X `
25+ ` loong64 ` | ` SCMP_ARCH_LOONGARCH64 `
2526
2627The runc binary might be compilable for i386, big-endian PPC64,
2728and several MIPS variants too, but these architectures are not officially supported.
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ var archs = map[string]string{
6565 "SCMP_ARCH_RISCV64" : "riscv64" ,
6666 "SCMP_ARCH_S390" : "s390" ,
6767 "SCMP_ARCH_S390X" : "s390x" ,
68+ "SCMP_ARCH_LOONGARCH64" : "loong64" ,
6869}
6970
7071// KnownArchs returns the list of the known archs.
You can’t perform that action at this time.
0 commit comments