]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - arch/arm64/lib/Makefile
isystem: delete global -isystem compile option
[thirdparty/linux.git] / arch / arm64 / lib / Makefile
index 0941180a86d34cb74399ddcac3713fe526379e6c..29490be2546bfce91862735e2b66a83c8d682afe 100644 (file)
@@ -9,6 +9,8 @@ ifeq ($(CONFIG_KERNEL_MODE_NEON), y)
 obj-$(CONFIG_XOR_BLOCKS)       += xor-neon.o
 CFLAGS_REMOVE_xor-neon.o       += -mgeneral-regs-only
 CFLAGS_xor-neon.o              += -ffreestanding
+# Enable <arm_neon.h>
+CFLAGS_xor-neon.o              += -isystem $(shell $(CC) -print-file-name=include)
 endif
 
 lib-$(CONFIG_ARCH_HAS_UACCESS_FLUSHCACHE) += uaccess_flushcache.o