diff --git a/config/kernel.m4 b/config/kernel.m4 index a1dd4f04b6..2e232286e4 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -8,6 +8,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ dnl # Kernel build cpp flags KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL " + KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-unknown-pragmas " KERNELCPPFLAGS="$KERNELCPPFLAGS -I$splsrc -I$splsrc/include -I$TOPDIR" dnl # Required for pread() functionality an other GNU goodness