diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index eb89fa4847..e434b1c61d 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -3409,10 +3409,16 @@ if [[ -z ${CHOST} ]]; then fi ;; SunOS) - case $(uname -p) in + case $(isainfo -n) in + amd64) + CHOST="x86_64-pc-solaris$(uname -r | sed 's|5|2|')" + ;; i386) CHOST="i386-pc-solaris$(uname -r | sed 's|5|2|')" ;; + sparcv9) + CHOST="sparcv9-sun-solaris$(uname -r | sed 's|5|2|')" + ;; sparc) CHOST="sparc-sun-solaris$(uname -r | sed 's|5|2|')" ;; |