isystem: delete global -isystem compile option
[linux-2.6-microblaze.git] / arch / arm64 / lib / Makefile
index 0941180..29490be 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