Don't print info if already PREFIX_BINARY=0

This commit is contained in:
Wildan M 2025-12-31 16:48:04 +07:00
parent 6eb4618c82
commit d5189f8f46
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -61,6 +61,7 @@ ifneq ($(PODMAN_BUILD),1)
FSTOOLS_IN_PODMAN=0
HOST_TARGET := $(shell env -u RUSTUP_TOOLCHAIN rustc -vV | grep host | cut -d: -f2 | tr -d " ")
# x86_64 linux hosts have all toolchains
ifeq ($(PREFIX_BINARY),1)
ifneq ($(HOST_TARGET),x86_64-unknown-linux-gnu)
ifeq ($(ARCH),aarch64)
# aarch64 linux hosts have aarch64 toolchain
@ -74,6 +75,7 @@ ifneq ($(HOST_TARGET),x86_64-unknown-linux-gnu)
endif
endif
endif
endif
ifeq ($(SCCACHE_BUILD),1)
ifeq (,$(shell command -v sccache))