X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=config%2Fkernel.m4;h=f31d93c9716861e2eb58084b6139df5afd9235a2;hb=12c1acde76683108441827ae9affba1872f3afe5;hp=510f6dbc7f1dc4de763f552a2a0161917acce726;hpb=bdf4328b04544ac3759d689d0a68e514b6df1025;p=zfs.git diff --git a/config/kernel.m4 b/config/kernel.m4 index 510f6db..f31d93c 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -44,6 +44,7 @@ AC_DEFUN([ZFS_AC_CONFIG_KERNEL], [ dnl # -Wall -fno-strict-aliasing -Wstrict-prototypes and other dnl # compiler options are added by the kernel build system. + KERNELCPPFLAGS="$KERNELCPPFLAGS -Wno-unused-but-set-variable" KERNELCPPFLAGS="$KERNELCPPFLAGS -DHAVE_SPL -D_KERNEL" KERNELCPPFLAGS="$KERNELCPPFLAGS -DTEXT_DOMAIN=\\\"zfs-linux-kernel\\\""