Skip to content

Commit 71c803f

Browse files
committed
[Compiler-rt][Test] Link riscv and arm compiler-rt tests with eld
1 parent bef1587 commit 71c803f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qualcomm-software/embedded-runtimes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ if(ENABLE_LIBC_TESTS OR ENABLE_COMPILER_RT_TESTS OR ENABLE_LIBCXX_TESTS)
170170
if(TEST_EXECUTOR STREQUAL qemu)
171171
set(picocrt "crt0-semihost")
172172
endif()
173-
set(test_link_flags "-nostartfiles -l${picocrt} -lsemihost -T picolibcpp.ld")
173+
set(test_link_flags "-nostartfiles -l${picocrt} -lsemihost -T picolibcpp.ld -fuse-ld=eld")
174174
else()
175175
message(FATAL_ERROR "Tests can only be enabled using picolibc.")
176176
endif()

0 commit comments

Comments
 (0)