mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Merge pull request #3015 from aytekinar/3012-gcc-fix
Fix gcc build problem
This commit is contained in:
commit
0e1a9a5252
@ -298,8 +298,10 @@ endif ()
|
|||||||
|
|
||||||
if (LIBZMQ_WERROR)
|
if (LIBZMQ_WERROR)
|
||||||
zmq_check_cxx_flag_prepend ("-Werror")
|
zmq_check_cxx_flag_prepend ("-Werror")
|
||||||
|
if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||||
zmq_check_cxx_flag_prepend ("-errwarn=%all")
|
zmq_check_cxx_flag_prepend ("-errwarn=%all")
|
||||||
endif()
|
endif()
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
|
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
|
||||||
zmq_check_cxx_flag_prepend ("-mcpu=v9")
|
zmq_check_cxx_flag_prepend ("-mcpu=v9")
|
||||||
|
Loading…
Reference in New Issue
Block a user