Ignore:
Timestamp:
Apr 11, 2013, 1:42:50 AM (10 years ago)
Author:
sam
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/run-bitten.sh

    r2547 r2654  
    9999processor="`uname -m`"
    100100case "$processor" in
    101   x86_64) processor="amd64" ;;
     101  x86_64) processor="amd64"
     102    if test "`getconf LONG_BIT 2>/dev/null`" = 32; then
     103      processor="i386"
     104    fi ;;
    102105  i*86) processor="i386" ;;
    103106esac
Note: See TracChangeset for help on using the changeset viewer.