diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk index 56bdd8258531..b9880a340135 100644 --- a/share/mk/bsd.cpu.mk +++ b/share/mk/bsd.cpu.mk @@ -151,6 +151,8 @@ _CPUCFLAGS = -mcpu=ultrasparc . elif ${CPUTYPE} == "ultrasparc3" _CPUCFLAGS = -mcpu=ultrasparc3 . endif +. elif ${MACHINE_CPUARCH} == "aarch64" +_CPUCFLAGS = -mcpu=${CPUTYPE} . endif # Set up the list of CPU features based on the CPU type. This is an