All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add -nostdinc to TARGET_CFLAGS
@ 2009-10-26 16:16 Robert Millan
  2009-10-28 23:16 ` Robert Millan
  0 siblings, 1 reply; 16+ messages in thread
From: Robert Millan @ 2009-10-26 16:16 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]


It should be pretty obvious that we don't want to use system headers when
building target, but we've been for so long without this flag that I want
to make sure.

Does anyone see a problem with it?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."

[-- Attachment #2: nostdinc.diff --]
[-- Type: text/x-diff, Size: 735 bytes --]


$ bzr diff -r 1768..1769 bzr+ssh://bzr.savannah.gnu.org/grub/people/robertmh/lib-linux/Makefile.in

2009-10-26  Robert Millan  <rmh.grub@aybabtu.com>

	* Makefile.in (TARGET_CPPFLAGS): Add `-nostdinc'.

=== modified file 'Makefile.in'
--- Makefile.in	2009-10-06 00:04:32 +0000
+++ Makefile.in	2009-10-23 13:31:15 +0000
@@ -75,7 +75,7 @@
 TARGET_MODULE_FORMAT = @TARGET_MODULE_FORMAT@
 TARGET_APPLE_CC = @TARGET_APPLE_CC@
 OBJCONV = @OBJCONV@
-TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ -I$(builddir) -I$(builddir)/include -I$(srcdir)/include \
+TARGET_CPPFLAGS = @TARGET_CPPFLAGS@ -nostdinc -I$(builddir) -I$(builddir)/include -I$(srcdir)/include \
 	-Wall -W
 TARGET_LDFLAGS = @TARGET_LDFLAGS@
 TARGET_IMG_LDSCRIPT = @TARGET_IMG_LDSCRIPT@


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-11-15 12:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26 16:16 [PATCH] Add -nostdinc to TARGET_CFLAGS Robert Millan
2009-10-28 23:16 ` Robert Millan
2009-10-29 10:14   ` Robert Millan
2009-10-29 10:36     ` Robert Millan
2009-10-29 10:46       ` Vladimir 'phcoder' Serbinenko
2009-10-30 18:55         ` Robert Millan
2009-11-04 10:48       ` Felix Zielcke
2009-11-14 21:16         ` Felix Zielcke
2009-11-15 11:04           ` Robert Millan
2009-11-15 11:12             ` Robert Millan
2009-11-15 11:19               ` Felix Zielcke
2009-11-15 11:17             ` Felix Zielcke
2009-11-15 11:35               ` Robert Millan
2009-11-15 11:50                 ` Felix Zielcke
2009-11-15 12:32                   ` Robert Millan
2009-11-15 12:42                     ` Felix Zielcke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.