We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44be647 commit 61e55b7Copy full SHA for 61e55b7
c/CMakeLists.txt
@@ -106,11 +106,11 @@ endif ()
106
107
# Set Compiler extra flags for Solaris when using SunStudio
108
if (CMAKE_CXX_COMPILER_ID STREQUAL "SunPro")
109
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mt")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mt -D_REENTRANT")
110
endif()
111
112
if (CMAKE_C_COMPILER_ID STREQUAL "SunPro")
113
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mt")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mt -D_REENTRANT")
114
115
116
# Set linker's extra flags for Solaris (used by SunStudio and GCC without discrimination)
0 commit comments