Do not use prefix rustc to determine host target

This commit is contained in:
Jeremy Soller 2024-01-10 11:08:31 -07:00
parent 7de457e022
commit 17e3c17c73
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -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