mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-22 12:54:20 +08:00
Set HOST_TARGET and adjust PREFIX_BINARY for podman host
This commit is contained in:
parent
a4133e45d0
commit
41ca0bea4c
@ -44,13 +44,11 @@ CONTAINERFILE?=podman/redox-base-containerfile
|
||||
export NPROC=nproc
|
||||
export REDOX_MAKE=make
|
||||
|
||||
ifneq ($(PODMAN_BUILD),1)
|
||||
HOST_TARGET := $(shell env -u RUSTUP_TOOLCHAIN rustc -vV | grep host | cut -d: -f2 | tr -d " ")
|
||||
ifneq ($(HOST_TARGET),x86_64-unknown-linux-gnu)
|
||||
$(info The binary prefix is only built for x86_64 Linux hosts)
|
||||
PREFIX_BINARY=0
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(SCCACHE_BUILD),1)
|
||||
ifeq (,$(shell command -v sccache))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user