From 41a7749c3e9192f5bef8333d6065a159c6772e2e Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 30 Mar 2019 14:08:57 -0600 Subject: [PATCH] Build rustc prefix when aarch64 target is used --- mk/config.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mk/config.mk b/mk/config.mk index b9dc42c..65dd31a 100644 --- a/mk/config.mk +++ b/mk/config.mk @@ -6,7 +6,12 @@ INSTALLER_FLAGS?=--cookbook=cookbook ## Enabled to use binary prefix (much faster) PREFIX_BINARY?=1 ## Enabled to build custom rustc -PREFIX_RUSTC?=0 +ifeq ($(ARCH),aarch64) + # aarch64 requires rustc prefix + PREFIX_RUSTC?=1 +else + PREFIX_RUSTC?=0 +endif ## Filesystem size in MB (256 is the default) FILESYSTEM_SIZE?=256