aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/module/zfs/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/openzfs/module/zfs/Makefile.in')
-rw-r--r--sys/contrib/openzfs/module/zfs/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/contrib/openzfs/module/zfs/Makefile.in b/sys/contrib/openzfs/module/zfs/Makefile.in
index 653ea0da9bcc..0e04d7ef0cd2 100644
--- a/sys/contrib/openzfs/module/zfs/Makefile.in
+++ b/sys/contrib/openzfs/module/zfs/Makefile.in
@@ -154,4 +154,9 @@ ifeq ($(CONFIG_ALTIVEC),y)
$(obj)/vdev_raidz_math_powerpc_altivec.o: c_flags += -maltivec
endif
+ifeq ($(CONFIG_ARM64),y)
+CFLAGS_REMOVE_vdev_raidz_math_aarch64_neon.o += -mgeneral-regs-only
+CFLAGS_REMOVE_vdev_raidz_math_aarch64_neonx2.o += -mgeneral-regs-only
+endif
+
include $(mfdir)/../os/linux/zfs/Makefile