Skip to content

Commit 69b882d

Browse files
committed
Bug#28672616: Fix Pool UT on solaris
1 parent 1201014 commit 69b882d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ if(SUNPRO)
172172

173173
set(options
174174
-m64
175+
-mt
175176
-xatomic=studio
176177
-xtarget=generic # more portable code
177178
-xdebuginfo=no%decl # faster build times
@@ -394,7 +395,7 @@ else()
394395
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
395396
add_compile_options(-fvisibility-ms-compat)
396397
elseif(CMAKE_CXX_COMPILER_ID MATCHES "SunPro")
397-
add_compile_options(-xldscope=hidden)
398+
add_compile_options(-xldscope=symbolic)
398399
elseif(CMAKE_COMPILER_IS_GNUCXX)
399400
add_compile_options(-fvisibility=hidden)
400401
endif()

cdk/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ if(cdk_stand_alone)
7070

7171
set(options
7272
-m64
73+
-mt
7374
-std=c++11
7475
-library=stdcpp
7576
-xatomic=studio

0 commit comments

Comments
 (0)