Problem: Solaris build fails with libsodium

Solution: disable pedantic and Werror, as libsodium headers use
pragma diagnostic which are not available in gcc 3.4.
This commit is contained in:
Luca Boccassi 2016-04-13 00:30:23 +01:00
parent a01baba38b
commit b1232a0fd8

View File

@ -446,6 +446,8 @@ elif test "x$with_libsodium" = "xyes"; then
case "${host_os}" in
*solaris*)
LDFLAGS="-lssp $LDFLAGS"
libzmq_pedantic="no"
libzmq_werror="no"
;;
esac
else