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