[2674] 2009-10-30 Robert Millan <[email protected]>

Robert Millan <[email protected]> Fri, 30 Oct 2009 22:51:54 +0000
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 2674
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2674
Author:   robertmh
Date:     2009-10-30 22:51:52 +0000 (Fri, 30 Oct 2009)
Log Message:
-----------
2009-10-30  Robert Millan  <[email protected]>

        Fix build problem.

        * Makefile.in (TARGET_CPPFLAGS): Replace `-nostdinc' with
        `-isystem=$(srcdir)/include'.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/Makefile.in

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-10-30 22:37:38 UTC (rev 2673)
+++ trunk/grub2/ChangeLog	2009-10-30 22:51:52 UTC (rev 2674)
@@ -1,5 +1,12 @@
 2009-10-30  Robert Millan  <[email protected]>
 
+	Fix build problem.
+
+	* Makefile.in (TARGET_CPPFLAGS): Replace `-nostdinc' with
+	`-isystem=$(srcdir)/include'.
+
+2009-10-30  Robert Millan  <[email protected]>
+
 	* util/i386/pc/grub-install.in: Remove hint that device.map should be
 	checked (grub-install doesn't currently rely on it).
 

Modified: trunk/grub2/Makefile.in
===================================================================
--- trunk/grub2/Makefile.in	2009-10-30 22:37:38 UTC (rev 2673)
+++ trunk/grub2/Makefile.in	2009-10-30 22:51:52 UTC (rev 2674)
@@ -75,7 +75,7 @@
 TARGET_MODULE_FORMAT = @TARGET_MODULE_FORMAT@
 TARGET_APPLE_CC = @TARGET_APPLE_CC@
 OBJCONV = @OBJCONV@
-TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ -nostdinc -I$(builddir) -I$(builddir)/include -I$(srcdir)/include \
+TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ -isystem=$(srcdir)/include -I$(builddir) -I$(builddir)/include \
 	-Wall -W
 TARGET_LDFLAGS = @TARGET_LDFLAGS@
 TARGET_IMG_LDSCRIPT = @TARGET_IMG_LDSCRIPT@