Disable binary prefix when not building on x86_64 Linux

This commit is contained in:
Jeremy Soller 2024-05-06 11:35:23 -06:00
parent 45289f11d0
commit f474b4cfb9
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -36,6 +36,10 @@ CONTAINERFILE?=podman/redox-base-containerfile
export NPROC=nproc
export REDOX_MAKE=make
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)
ifeq ($(UNAME),Darwin)
FUMOUNT=umount