]> git.proxmox.com Git - grub2.git/commitdiff
2009-11-15 Felix Zielcke <fzielcke@z-51.de>
authorFelix Zielcke <fzielcke@z-51.de>
Sun, 15 Nov 2009 12:41:25 +0000 (13:41 +0100)
committerFelix Zielcke <fzielcke@z-51.de>
Sun, 15 Nov 2009 12:41:25 +0000 (13:41 +0100)
* Makefile.in (TARGET_CPPFLAGS): Replace `-isystem=$(srcdir)/include'
with `-nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include)'.

ChangeLog
Makefile.in

index 2b5c24e96cfa7c07994364282e2ab33147a72281..b94848080e495fd9e0e0ea2662937acb95f1fb83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-15  Felix Zielcke  <fzielcke@z-51.de>
+
+       * Makefile.in (TARGET_CPPFLAGS): Replace `-isystem=$(srcdir)/include'
+       with `-nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include)'.
+
 2009-11-14  Robert Millan  <rmh.grub@aybabtu.com>
 
        Fix help2man generation for mkisofs.
index 61b9669953a00dea2d1e735032a4c39e2fbea73f..89d5189eb355526cd2ae8ae2931be055427ec527 100644 (file)
@@ -75,7 +75,7 @@ TARGET_ASFLAGS = @TARGET_ASFLAGS@
 TARGET_MODULE_FORMAT = @TARGET_MODULE_FORMAT@
 TARGET_APPLE_CC = @TARGET_APPLE_CC@
 OBJCONV = @OBJCONV@
-TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ -isystem=$(srcdir)/include -I$(srcdir)/include -I$(builddir) -I$(builddir)/include \
+TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ -nostdinc -isystem $(shell $(TARGET_CC) -print-file-name=include) -I$(srcdir)/include -I$(builddir) -I$(builddir)/include \
        -Wall -W
 TARGET_LDFLAGS = @TARGET_LDFLAGS@
 TARGET_IMG_LDSCRIPT = @TARGET_IMG_LDSCRIPT@