From 17e3c17c7347d9587718503d919a28e5aa473907 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 10 Jan 2024 11:08:31 -0700 Subject: [PATCH] Do not use prefix rustc to determine host target --- mk/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mk/config.mk b/mk/config.mk index 5f05d95..e40e096 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -35,7 +35,7 @@ CONTAINERFILE?=podman/redox-base-containerfile HOST_CARGO=env -u RUSTUP_TOOLCHAIN cargo export NPROC=nproc export REDOX_MAKE=make -HOST_TARGET := $(shell 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 " ") UNAME := $(shell uname) ifeq ($(UNAME),Darwin) FUMOUNT=umount