Add -Wno-unknown-pragmas

This commit is contained in:
Brian Behlendorf 2008-12-05 15:03:48 -08:00
parent 9405542384
commit 644386044b
1 changed files with 1 additions and 0 deletions

View File

@ -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