Skip to content

Commit dda7524

Browse files
committed
Copy libgcc as well after building musl
This is needed for rust-lang/libc#1034.
1 parent 9363342 commit dda7524

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ci/docker/scripts/musl.sh

+3
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,6 @@ cmake ../libunwind-release_$LLVM \
7272
hide_output make -j$(nproc)
7373
cp lib/libunwind.a /musl-$TAG/lib
7474
cd ../ && rm -rf libunwind-build
75+
76+
# Copy libgcc since musl may depend on symbols defined in it
77+
cp $($CC $CFLAGS -print-libgcc-file-name) /musl-$TAG/lib

0 commit comments

Comments
 (0)