mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
scripts: add proper 386 and amd64 target triples and builds
We need these to match the Makefile detection of the right gcc for runc-dmz, as well as making sure that everything builds properly for our cross-i386 tests. While we're at it, add x86 to the list of build targets for release builds (presumably nobody will use it, but since we do test builds of this anyway it probably won't hurt). In addition, clean up the handling of the native architecture build by treating it the same as any other build (ensuring that building runc from a different platform will work the same way regardless of the native architecture). In practice, the build works the same way as before. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
@@ -68,7 +68,7 @@ recvtty sd-helper seccompagent fs-idmap:
|
||||
static:
|
||||
$(GO_BUILD_STATIC) -o runc .
|
||||
|
||||
releaseall: RELEASE_ARGS := "-a arm64 -a armel -a armhf -a ppc64le -a riscv64 -a s390x"
|
||||
releaseall: RELEASE_ARGS := "-a 386 -a amd64 -a arm64 -a armel -a armhf -a ppc64le -a riscv64 -a s390x"
|
||||
releaseall: release
|
||||
|
||||
release: runcimage
|
||||
|
||||
Reference in New Issue
Block a user