* Makefile.util.def (libgrubmods.a): Add -Wno-error=logical-op

-Wno-error=missing-noreturn.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-22 05:37:32 +01:00
parent 84f9d341b0
commit 2a704ca926
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
* Makefile.util.def (libgrubmods.a): Add -Wno-error=logical-op
-Wno-error=missing-noreturn.
2012-02-22 Vladimir Serbinenko <phcoder@gmail.com> 2012-02-22 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/affs.c (grub_affs_read_block): Avoid <= in loop * grub-core/fs/affs.c (grub_affs_read_block): Avoid <= in loop

View file

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