back out 372428, I think it broke Linux fxnewref-linux-tbox

This commit is contained in:
asqueella@gmail.com 2007-07-14 15:12:55 -07:00
Родитель 0012993e62
Коммит 1e8f0bec0e
1 изменённых файлов: 2 добавлений и 5 удалений

Просмотреть файл

@ -908,6 +908,7 @@ if test -n "$CROSS_COMPILE"; then
OS_TARGET="${target_os}"
OS_ARCH=`echo $target_os | sed -e 's|/|_|g'`
OS_RELEASE=
OS_TEST="${target_cpu}"
case "${target_os}" in
linux*) OS_ARCH=Linux OS_TARGET=Linux ;;
solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;;
@ -919,12 +920,8 @@ else
OS_TARGET=`uname -s`
OS_ARCH=`uname -s | sed -e 's|/|_|g'`
OS_RELEASE=`uname -r`
OS_TEST=`uname -m`
fi
# Before this used `uname -m` when not cross compiling
# but that breaks when you have a 64 bit kernel with a 32 bit userland.
OS_TEXT="${target_cpu}"
_COMPILER_PREFIX=
HOST_OS_ARCH=`echo $host_os | sed -e 's|/|_|g'`