Skip to content

Commit 2feccd4

Browse files
committed
Merge #303: cmake: Drop extraneous -fvisibility-inlines-hidden
4dd3928 fixup! cmake: Add `REDUCE_EXPORTS` option (Hennadii Stepanov) Pull request description: This PR mirrors the master branch behavior and addresses bitcoin#30454 (comment). ACKs for top commit: m3dwards: ACK 4dd3928 Tree-SHA512: 329800301803c86e40eed9aa356ed7c0cd17207f0dc4a481e72705d45bf72cf12a0b5ec48de8133f9760f23930528b93440f38e2e47e4740eb1a811ba3c964e6
2 parents 874e21e + 4dd3928 commit 2feccd4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,6 @@ endif()
528528

529529
if(REDUCE_EXPORTS)
530530
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
531-
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
532531
try_append_linker_flag("-Wl,--exclude-libs,ALL" TARGET core_interface)
533532
try_append_linker_flag("-Wl,-no_exported_symbols" VAR CMAKE_EXE_LINKER_FLAGS)
534533
endif()

0 commit comments

Comments
 (0)