allow to build sparc (v8,leon)

Only set sparcv9 optimization for sparc64 systems.
This allows to run for example application using zeromq
on sparc32 systems.

Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
This commit is contained in:
Waldemar Brodkorb 2016-06-04 13:40:14 +02:00
parent 46912c4f2e
commit 492a035706

View File

@ -304,7 +304,7 @@ fi
# CPU-specific optimizations
case "${host_cpu}" in
*sparc*)
*sparc64*)
AC_LANG_PUSH([C++])
LIBZMQ_CHECK_LANG_FLAG_PREPEND([-mcpu=v9])
AC_LANG_POP([C++])