Skip to content

Commit d42e148

Browse files
committed
embind and asan_js libraries now also need to be built with -mt
1 parent c76b122 commit d42e148

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/system_libs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def get_default_variation(cls, **kwargs):
635635
return super(AsanInstrumentedLibrary, cls).get_default_variation(is_asan=shared.Settings.USE_ASAN, **kwargs)
636636

637637

638-
class libcompiler_rt(MuslInternalLibrary, MTLibrary):
638+
class libcompiler_rt(MTLibrary):
639639
name = 'libcompiler_rt'
640640
# compiler_rt files can't currently be part of LTO although we are hoping to remove this
641641
# restriction soon: https://reviews.llvm.org/D71738
@@ -1086,7 +1086,7 @@ class libwebgpu_cpp(MTLibrary):
10861086
src_files = ['webgpu_cpp.cpp']
10871087

10881088

1089-
class libembind(Library):
1089+
class libembind(MTLibrary):
10901090
name = 'libembind'
10911091
never_force = True
10921092

@@ -1268,7 +1268,7 @@ class libasan_rt(SanitizerLibrary):
12681268
src_dir = ['system', 'lib', 'compiler-rt', 'lib', 'asan']
12691269

12701270

1271-
class libasan_js(Library):
1271+
class libasan_js(MTLibrary):
12721272
name = 'libasan_js'
12731273

12741274
cflags = ['-fsanitize=address']

0 commit comments

Comments
 (0)