From f474b4cfb9b53632f69765892696f0252f49c5ee Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 6 May 2024 11:35:23 -0600 Subject: [PATCH] Disable binary prefix when not building on x86_64 Linux --- mk/config.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mk/config.mk b/mk/config.mk index 5e0bfc8..59f5be0 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -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