Skip to content

Commit

Permalink
[GR-48291] Fix ld commandline in toolchain tests for newer versions o…
Browse files Browse the repository at this point in the history
…f Darwin.
  • Loading branch information
rschatz committed Sep 5, 2023
1 parent 74d4230 commit 90c2c35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sulong/tests/toolchain-launchers-tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ set(CHECK_WRAPPER_SCRIPT | grep.exe "GraalVM wrapper script" ${QUIETLY_REDIR})
if (APPLE AND DEFINED SULONG_NATIVE_BUILD)
set(BC_MAGIC 0b17c0de)
set(BC_SECTION __bitcode\|__bundle)
set(SHARED_FLAGS -dynamic -dylib -arch x86_64 -macosx_version_min 10.14.0 -lSystem)
set(SHARED_FLAGS -dylib -arch ${CMAKE_SYSTEM_PROCESSOR} -macosx_version_min 10.14.0 -undefined dynamic_lookup)
else()
set(BC_MAGIC dec04342)
set(BC_SECTION \.llvmbc)
Expand Down

0 comments on commit 90c2c35

Please sign in to comment.