]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* Makefile.util.def (libgrubmods.a): Remove CFLAGS_POSIX as this lib
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Sep 2013 12:09:56 +0000 (14:09 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 23 Sep 2013 12:09:56 +0000 (14:09 +0200)
doesn't use posix_wrap. Keep literal -fno-builtin however.

ChangeLog
Makefile.util.def

index 27015fc7bac8166a2b103200f287793edf03ee6c..fa868486213ef4ce5bd0e5e6141cfd46a439bae0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 9c211c2b242a13ad959cc34e66808c5adbd9686f..f5dc25bc3cb0fef95e30b1beb68c195b16b5697c 100644 (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;