mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 07:31:03 +08:00
Fix gcc build problem
Fixed gcc-related build problem resulting from `-errwarn=%all` switch. Fixes #3012.
This commit is contained in:
parent
0b99710949
commit
6fa9362351
@ -298,7 +298,9 @@ endif ()
|
||||
|
||||
if (LIBZMQ_WERROR)
|
||||
zmq_check_cxx_flag_prepend ("-Werror")
|
||||
zmq_check_cxx_flag_prepend ("-errwarn=%all")
|
||||
if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
zmq_check_cxx_flag_prepend ("-errwarn=%all")
|
||||
endif()
|
||||
endif ()
|
||||
|
||||
if (CMAKE_SYSTEM_PROCESSOR MATCHES "^sparc")
|
||||
|
Loading…
x
Reference in New Issue
Block a user