From 5b29fa2d782bcf8d37e1567e1222d13570186697 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Fri, 5 Dec 2008 16:53:29 -0800 Subject: [PATCH] Disable unknown pragmas --- config/kernel.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/kernel.m4 b/config/kernel.m4 index 2e232286e4..8ba0b7aa1c 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -18,7 +18,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ dnl # XXX: Quiet warnings not covered by the gcc-* patches dnl # XXX: Remove once all the warnings are resolved HOSTCFLAGS="$HOSTCFLAGS -Wno-switch -Wno-unused -Wno-missing-braces " - HOSTCFLAGS="$HOSTCFLAGS -Wno-parentheses " + HOSTCFLAGS="$HOSTCFLAGS -Wno-unknown-pragmas -Wno-parentheses " HOSTCFLAGS="$HOSTCFLAGS -Wno-uninitialized -fno-strict-aliasing " dnl # Expected defines not covered by zfs_config.h or spl_config.h