* [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
* [Buildroot] Hide troublesome environment variables from sub processes [Re: svn commit: trunk/buildroot]
2007-06-19 15:19 [Buildroot] svn commit: trunk/buildroot jacmet at uclibc.org
@ 2007-06-20 9:10 ` Bernhard Fischer
2007-06-20 9:59 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Fischer @ 2007-06-20 9:10 UTC (permalink / raw)
To: buildroot
On Tue, Jun 19, 2007 at 08:19:28AM -0700, jacmet at uclibc.org wrote:
>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
You should check for these in dependencies.sh instead.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Hide troublesome environment variables from sub processes [Re: svn commit: trunk/buildroot]
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
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2007-06-20 9:59 UTC (permalink / raw)
To: buildroot
>>>>> "BF" == Bernhard Fischer <rep.dot.nop@gmail.com> writes:
Hi,
>> Log:
>> Hide troublesome environment variables from sub processes
>> (E.G. screws up gdb, busybox, ..)
BF> You should check for these in dependencies.sh instead.
But you cannot clear the environment from within the subshell
executing dependencies.sh - You can ofcause complain loudly, but doing
it in the Makefile makes the system just work (tm) which seems
preferable to me.
--
Bye, Peter Korsgaard
^ 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