* Makefile.util.def (libgrubmods.a): Remove CFLAGS_POSIX as this lib

doesn't use posix_wrap. Keep literal -fno-builtin however.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-09-23 14:09:56 +02:00
parent d9104204ac
commit efa68bfabf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
* Makefile.util.def (libgrubmods.a): Remove CFLAGS_POSIX as this lib
doesn't use posix_wrap. Keep literal -fno-builtin however.
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
* conf/Makefile.common (CPPFLAGS_LIBFDT): Remove leftover.

View File

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