LibGC: Enable EXPLICIT_SYMBOL_EXPORT

This commit is contained in:
ayeteadoe 2025-06-28 01:34:31 -07:00 committed by Andrew Kaster
commit 83846b3861
Notes: github-actions[bot] 2025-06-30 16:51:58 +00:00
18 changed files with 22 additions and 24 deletions

View file

@ -281,9 +281,6 @@ endif()
if (WIN32)
# FIXME: Windows on ARM
target_link_libraries(LibJS PRIVATE clang_rt.builtins-x86_64.lib)
# FIXME: This is a hack to get around lld-link error undefined symbol GC::HeapBlockBase::block_size
# LibGC HeapBlock.obj is given directly to LibJS linker
target_link_libraries(LibJS PRIVATE $<FILTER:$<TARGET_OBJECTS:LibGC>,INCLUDE,HeapBlock>)
else()
# This flag has no effect on Windows
target_compile_options(LibJS PRIVATE -fno-omit-frame-pointer)