Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot
@ 2007-06-19 15:19 jacmet at uclibc.org
  2007-06-20  9:10 ` [Buildroot] Hide troublesome environment variables from sub processes [Re: svn commit: trunk/buildroot] Bernhard Fischer
  0 siblings, 1 reply; 3+ messages in thread
From: jacmet at uclibc.org @ 2007-06-19 15:19 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-06-19 08:19:27 -0700 (Tue, 19 Jun 2007)
New Revision: 18856

Log:
Hide troublesome environment variables from sub processes
(E.G. screws up gdb, busybox, ..)


Modified:
   trunk/buildroot/Makefile


Changeset:
Modified: trunk/buildroot/Makefile
===================================================================
--- trunk/buildroot/Makefile	2007-06-19 14:43:17 UTC (rev 18855)
+++ trunk/buildroot/Makefile	2007-06-19 15:19:27 UTC (rev 18856)
@@ -46,6 +46,13 @@
 cc-option = $(shell if $(TARGET_CC) $(TARGET_CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
 	> /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
 
+#############################################################
+#
+# Hide troublesome environment variables from sub processes
+#
+#############################################################
+unexport CROSS_COMPILE
+unexport ARCH
 
 #############################################################
 #

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

end of thread, other threads:[~2007-06-20  9:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-19 15:19 [Buildroot] svn commit: trunk/buildroot jacmet at uclibc.org
2007-06-20  9:10 ` [Buildroot] Hide troublesome environment variables from sub processes [Re: svn commit: trunk/buildroot] Bernhard Fischer
2007-06-20  9:59   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox