Disable binary prefix when not building on x86_64 Linux
This commit is contained in:
parent
45289f11d0
commit
f474b4cfb9
|
@ -36,6 +36,10 @@ CONTAINERFILE?=podman/redox-base-containerfile
|
||||||
export NPROC=nproc
|
export NPROC=nproc
|
||||||
export REDOX_MAKE=make
|
export REDOX_MAKE=make
|
||||||
HOST_TARGET := $(shell env -u RUSTUP_TOOLCHAIN rustc -vV | grep host | cut -d: -f2 | tr -d " ")
|
HOST_TARGET := $(shell env -u RUSTUP_TOOLCHAIN rustc -vV | grep host | cut -d: -f2 | tr -d " ")
|
||||||
|
ifneq ($(HOST_TARGET),x86_64-unknown-linux-gnu)
|
||||||
|
# The binary prefix is only built for x86_64 Linux hosts
|
||||||
|
PREFIX_BINARY=0
|
||||||
|
endif
|
||||||
UNAME := $(shell uname)
|
UNAME := $(shell uname)
|
||||||
ifeq ($(UNAME),Darwin)
|
ifeq ($(UNAME),Darwin)
|
||||||
FUMOUNT=umount
|
FUMOUNT=umount
|
||||||
|
|
Loading…
Reference in a new issue