* configure.ac: Decrease warning level to avoid spurious warnings and

to be able to compile with GCC 4.2.
	* Makefile.util.def: Remove -Wno-error=logical-op.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-10 21:30:37 +01:00
parent 82f6d455bb
commit 8e56f87007
3 changed files with 8 additions and 2 deletions

View file

@ -36,7 +36,7 @@ library = {
library = {
name = libgrubmods.a;
cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-error=logical-op -Wno-error=missing-noreturn';
cflags = '$(CFLAGS_POSIX) -Wno-undef -Wno-error=missing-noreturn';
cppflags = '-I$(top_srcdir)/grub-core/lib/minilzo -I$(srcdir)/grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H';
common_nodist = grub_script.tab.c;