Skip to content

Commit 3abbd14

Browse files
committed
[k2] allow -fvisibility=hidden for k2-lib mode
1 parent 777ce7d commit 3abbd14

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

compiler/compiler-settings.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,7 @@ void CompilerSettings::init() {
336336
if (is_k2_mode) {
337337
// for now k2-component must be compiled with clang and statically linked libc++
338338
ss << " -stdlib=libc++";
339-
// TODO support hidden visibility for k2-lib
340-
if (!dynamic_incremental_linkage.get() && mode.get() != "k2-lib") {
339+
if (!dynamic_incremental_linkage.get()) {
341340
ss << " -fvisibility=hidden";
342341
}
343342
// Temporary solution. Required for allocator functions replacement in timelib

0 commit comments

Comments
 (0)