VirtualBox

Changeset 1156 in kBuild


Ignore:
Timestamp:
Sep 29, 2007 12:58:41 AM (17 years ago)
Author:
bird
Message:

isainfo on solaris, uname doesn't tell the truth.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/env.sh

    r1142 r1156  
    118118fi
    119119if test -z "$BUILD_PLATFORM_ARCH"; then
    120     # Use uname (lots of guesses here, please help clean this up...)
    121     BUILD_PLATFORM_ARCH=`uname -m`
     120    # Use uname -m or isainfo (lots of guesses here, please help clean this up...)
     121    if test "$BUILD_PLATFORM" == "solaris"; then
     122        BUILD_PLATFORM_ARCH=`isainfo`
     123    else
     124        BUILD_PLATFORM_ARCH=`uname -m`
     125    fi
    122126    case "$BUILD_PLATFORM_ARCH" in
    123127        x86_64|AMD64|amd64|k8|k8l|k9|k10)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette