From 2e08aedba456dccddf6418908a55014e56cad226 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 14 Jun 2011 15:09:05 -0700 Subject: Always check -Wno-unused-but-set-variable gcc support The previous commit 8a7e1ceefa430988c8f888ca708ab307333b4464 wasn't quite right. This check applies to both the user and kernel space build and as such we must make sure it runs regardless of what the --with-config option is set too. For example, if --with-config=kernel then the autoconf test does not run and we generate build warnings when compiling the kernel packages. --- lib/libnvpair/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libnvpair/Makefile.in') diff --git a/lib/libnvpair/Makefile.in b/lib/libnvpair/Makefile.in index 277225c88..b762492f6 100644 --- a/lib/libnvpair/Makefile.in +++ b/lib/libnvpair/Makefile.in @@ -40,6 +40,7 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ subdir = lib/libnvpair ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = \ + $(top_srcdir)/config/always-no-unused-but-set-variable.m4 \ $(top_srcdir)/config/kernel-bdev-block-device-operations.m4 \ $(top_srcdir)/config/kernel-bdev-logical-size.m4 \ $(top_srcdir)/config/kernel-bio-empty-barrier.m4 \ @@ -72,7 +73,6 @@ am__aclocal_m4_deps = \ $(top_srcdir)/config/user-ioctl.m4 \ $(top_srcdir)/config/user-libblkid.m4 \ $(top_srcdir)/config/user-libuuid.m4 \ - $(top_srcdir)/config/user-no-unused-but-set-variable.m4 \ $(top_srcdir)/config/user-nptl_guard_within_stack.m4 \ $(top_srcdir)/config/user-selinux.m4 \ $(top_srcdir)/config/user-zlib.m4 $(top_srcdir)/config/user.m4 \ -- cgit v1.2.3