1
0
Fork 0

solaris target for automake/autoconf

This commit is contained in:
Charles Phillips 2016-01-25 15:04:51 -08:00
parent 6b226318d6
commit b12f8d4317
1 changed files with 6 additions and 0 deletions

View File

@ -95,6 +95,7 @@ dnl ----------------------------------------------------------------------------
tr_DARWIN="no"
tr_FREEBSD="no"
tr_SOLARIS="no"
tr_ARM="no"
case $target in
@ -106,6 +107,10 @@ case $target in
tr_FREEBSD="yes"
;;
*-*-solaris*)
tr_SOLARIS="yes"
;;
armv7l-*-linux-gnueabihf)
CXXFLAGS="${CXXFLAGS} -O0"
tr_ARM="yes"
@ -125,6 +130,7 @@ esac
AM_CONDITIONAL(ENABLE_DARWIN, test "x$tr_DARWIN" = xyes)
AM_CONDITIONAL(ENABLE_FREEBSD, test "x$tr_FREEBSD" = xyes)
AM_CONDITIONAL(ENABLE_SOLARIS, test "x$tr_SOLARIS" = xyes)
AM_CONDITIONAL(ENABLE_ARM, test "x$tr_ARM" = xyes)
AM_CONDITIONAL(ENABLE_ARMV6, test "x$tr_ARM6" = xyes)
AM_CONDITIONAL(ENABLE_ARMV7, test "x$tr_ARM7" = xyes)