mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-04 07:27:26 +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:
parent
d570f57b6e
commit
abe44500de
@ -165,7 +165,7 @@ case "${host_os}" in
|
||||
;;
|
||||
*solaris*)
|
||||
# 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_CHECK_LIB(socket, socket)
|
||||
AC_CHECK_LIB(nsl, gethostbyname)
|
||||
|
Loading…
x
Reference in New Issue
Block a user