mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 22:40:55 +01:00
Problem: tweetnacl does not build on Solaris 10
Solution: add Wnosign-compare to CPPFLAGS. GCC version is too old on Solaris 10 to use pragma diagnostic (min 4.2 needed, but 3.4 is available)
This commit is contained in:
@@ -165,7 +165,7 @@ case "${host_os}" in
|
|||||||
;;
|
;;
|
||||||
*solaris*)
|
*solaris*)
|
||||||
# Define on Solaris to enable all library features
|
# Define on Solaris to enable all library features
|
||||||
CPPFLAGS="-D_PTHREADS $CPPFLAGS"
|
CPPFLAGS="-Wno-sign-compare -D_PTHREADS $CPPFLAGS"
|
||||||
AC_DEFINE(ZMQ_HAVE_SOLARIS, 1, [Have Solaris OS])
|
AC_DEFINE(ZMQ_HAVE_SOLARIS, 1, [Have Solaris OS])
|
||||||
AC_CHECK_LIB(socket, socket)
|
AC_CHECK_LIB(socket, socket)
|
||||||
AC_CHECK_LIB(nsl, gethostbyname)
|
AC_CHECK_LIB(nsl, gethostbyname)
|
||||||
|
|||||||
Reference in New Issue
Block a user