Enable build on solaris (#4115)

This commit is contained in:
Peter Tribble
2017-04-23 19:10:18 +01:00
committed by Harshavardhana
parent 83abad0b37
commit 2b96d9f706
207 changed files with 124947 additions and 3 deletions

View File

@@ -25,6 +25,11 @@ _init() {
OSX_VERSION="10.8"
KNAME=$(uname -s)
ARCH=$(uname -m)
case "${KNAME}" in
SunOS )
ARCH=$(isainfo -k)
;;
esac
}
## FIXME:
@@ -97,7 +102,7 @@ assert_is_supported_arch() {
assert_is_supported_os() {
case "${KNAME}" in
Linux | FreeBSD | OpenBSD | NetBSD | DragonFly )
Linux | FreeBSD | OpenBSD | NetBSD | DragonFly | SunOS )
return
;;
Darwin )