Bug 363263 - OS_TARGET set incorrectly in cross-compiled builds, patch by Mike Hommey, r=me

This commit is contained in:
benjamin%smedbergs.us 2007-05-23 17:00:17 +00:00
Родитель a42e35c332
Коммит cecb49faa0
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -912,7 +912,7 @@ if test -n "$CROSS_COMPILE"; then
OS_RELEASE= OS_RELEASE=
OS_TEST="${target_cpu}" OS_TEST="${target_cpu}"
case "${target_os}" in case "${target_os}" in
linux*) OS_ARCH=Linux ;; linux*) OS_ARCH=Linux OS_TARGET=Linux ;;
solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;; solaris*) OS_ARCH=SunOS OS_RELEASE=5 ;;
mingw*) OS_ARCH=WINNT ;; mingw*) OS_ARCH=WINNT ;;
wince*) OS_ARCH=WINCE ;; wince*) OS_ARCH=WINCE ;;