* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter.

(-Wunused implies -Wunused-parameter, but not vice versa).
This commit is contained in:
Colin Watson 2010-11-16 15:54:18 +00:00
parent 72b7c7aa36
commit 24ec575b72
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-11-16 Colin Watson <cjwatson@debian.org>
* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter.
(-Wunused implies -Wunused-parameter, but not vice versa).
2010-11-16 Colin Watson <cjwatson@ubuntu.com>
* configure.ac: Make error messages less confusing by testing for

View file

@ -97,7 +97,7 @@ platformdir = $(pkglibrootdir)/$(target_cpu)-$(platform)
CFLAGS_GCRY = -Wno-error -Wno-missing-field-initializers
CPPFLAGS_GCRY = -I$(top_srcdir)/grub-core/lib/libgcrypt_wrap
CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused
CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter
CPPFLAGS_GNULIB = -I$(top_builddir)/grub-core/gnulib -I$(top_srcdir)/grub-core/gnulib
CFLAGS_POSIX = -fno-builtin