changeset 997:491eec5512dd

Slightly tweaked bugfix from Wolfgang Denk: clean out environment variables from the host that would screw up the build.
author Rob Landley <rob@landley.net>
date Fri, 12 Mar 2010 14:29:25 -0600
parents bd6cc5603989
children bbcafba8a594
files sources/include.sh
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sources/include.sh	Fri Mar 12 02:52:58 2010 -0600
+++ b/sources/include.sh	Fri Mar 12 14:29:25 2010 -0600
@@ -9,6 +9,10 @@
 
 source sources/functions.sh
 
+# Avoid trouble from unexpected environment settings
+
+unset CROSS_COMPILE ARCH CDPATH
+
 # List of fallback mirrors to download package source from
 
 MIRROR_LIST="http://impactlinux.com/firmware/mirror http://landley.net/code/firmware/mirror http://127.0.0.1/code/firmware/mirror"