Przeglądaj źródła

build: if uname says x86_64 but getconf LONG_BIT returns 32, we’re on i386.

legacy
Sam Hocevar sam 12 lat temu
rodzic
commit
7cae8968cb
1 zmienionych plików z 4 dodań i 1 usunięć
  1. +4
    -1
      build/run-bitten.sh

+ 4
- 1
build/run-bitten.sh Wyświetl plik

@@ -98,7 +98,10 @@ esac
append "name = $name"
processor="`uname -m`"
case "$processor" in
x86_64) processor="amd64" ;;
x86_64) processor="amd64"
if test "`getconf LONG_BIT 2>/dev/null`" = 32; then
processor="i386"
fi ;;
i*86) processor="i386" ;;
esac
# Windows defines a lot of crazy shit, try to make sense of it


Ładowanie…
Anuluj
Zapisz