add OpenIndiana to list (#18972)
* add OpenIndiana support * point sunos to solaris
This commit is contained in:
parent
08107c2192
commit
787def271b
1 changed files with 11 additions and 1 deletions
|
|
@ -139,6 +139,11 @@ case $uos in
|
||||||
myos="solaris"
|
myos="solaris"
|
||||||
LINK_FLAGS="$LINK_FLAGS -ldl -lm -lsocket -lnsl"
|
LINK_FLAGS="$LINK_FLAGS -ldl -lm -lsocket -lnsl"
|
||||||
;;
|
;;
|
||||||
|
*SunOS* )
|
||||||
|
myos="solaris"
|
||||||
|
LINK_FLAGS="$LINK_FLAGS -ldl -lm -lsocket -lnsl"
|
||||||
|
isOpenIndiana="yes"
|
||||||
|
;;
|
||||||
*haiku* )
|
*haiku* )
|
||||||
myos="haiku"
|
myos="haiku"
|
||||||
LINK_FLAGS="$LINK_FLAGS -lroot -lnetwork"
|
LINK_FLAGS="$LINK_FLAGS -lroot -lnetwork"
|
||||||
|
|
@ -159,7 +164,12 @@ esac
|
||||||
|
|
||||||
case $ucpu in
|
case $ucpu in
|
||||||
*i386* | *i486* | *i586* | *i686* | *bepc* | *i86pc* )
|
*i386* | *i486* | *i586* | *i686* | *bepc* | *i86pc* )
|
||||||
mycpu="i386" ;;
|
if [ isOpenIndiana -eq "yes" ] ; then
|
||||||
|
mycpu="amd64"
|
||||||
|
else
|
||||||
|
mycpu="i386"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*amd*64* | *x86-64* | *x86_64* )
|
*amd*64* | *x86-64* | *x86_64* )
|
||||||
mycpu="amd64" ;;
|
mycpu="amd64" ;;
|
||||||
*sparc*|*sun* )
|
*sparc*|*sun* )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue