From 644386044b712f92c5e9906cb4c13cd895cd5486 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 5 Dec 2008 15:03:48 -0800 Subject: [PATCH] Add -Wno-unknown-pragmas --- config/kernel.m4 | 1 + 1 file changed, 1 insertion(+) 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