diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index b32809ed097307a48ab01438014032235d208be5..b09cc4973e98621b5a8467f61d896a25969cfd28 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -220,7 +220,7 @@ LDFLAGS := $(LDFLAGS) $(EXTRA_LDFLAGS)
 # Do not export those! Use HOSTVARS.
 
 # Do the FPU detection, after we have figured out our compilers and flags.
-ifneq ($(findstring $(ARCH),aarch64 i386 ppc ppc64 sparc sparc64 x86_64),)
+ifneq ($(findstring $(ARCH),aarch64 arm64 i386 ppc ppc64 sparc sparc64 x86_64),)
 # This should be consistent with include/vlc_cpu.h
 HAVE_FPU = 1
 else ifneq ($(findstring $(ARCH),arm),)