Skip to content

Commit 13948df

Browse files
committed
cmake: More SunPro related settings
1 parent 2226bf0 commit 13948df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,12 @@ IF(MYSQLCLIENT_STATIC_BINDING AND
358358
"connector: ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}.")
359359
ENDIF()
360360

361-
#
362-
# FIXME: Dirty trick to get Solaris build which uses gcc go through.
363-
#
364361

365362
if(CMAKE_SYSTEM_NAME MATCHES "SunOS")
366-
list(REMOVE_ITEM MYSQL_LIBRARIES stdc++ gcc_s CrunG3 c statomic)
363+
add_definitions(
364+
-D_POSIX_PTHREAD_SEMANTICS
365+
-D_REENTRANT
366+
)
367367
endif()
368368

369369

0 commit comments

Comments
 (0)