Mercurial > hg > aboriginal
changeset 213:1080306ae20e
Allow host to be overridden (to build on MacOS X).
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 08 Sep 2007 21:35:21 -0500 |
parents | d685eda11ca7 |
children | 0c60dc8d7fd5 |
files | include.sh |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/include.sh Thu Sep 06 04:03:04 2007 -0500 +++ b/include.sh Sat Sep 08 21:35:21 2007 -0500 @@ -199,9 +199,8 @@ # and target match, the binutils/gcc/make builds won't use the cross compiler # during mini-native.sh, and the host compiler links binaries against the # wrong libc.) - export CROSS_HOST=`uname -m`-walrus-linux - [ -z "$CROSS_TARGET" ] && CROSS_TARGET=${ARCH}-unknown-linux - export CROSS_TARGET + [ -z "$CROSS_HOST" ] && export CROSS_HOST=`uname -m`-walrus-linux + [ -z "$CROSS_TARGET" ] && export CROSS_TARGET=${ARCH}-unknown-linux # Read the relevant config file.