Skip to content

Commit

Permalink
Copy libgcc as well after building musl
Browse files Browse the repository at this point in the history
This is needed for rust-lang/libc#1034.
  • Loading branch information
Amanieu committed Jul 8, 2018
1 parent 9363342 commit dda7524
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ci/docker/scripts/musl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ cmake ../libunwind-release_$LLVM \
hide_output make -j$(nproc)
cp lib/libunwind.a /musl-$TAG/lib
cd ../ && rm -rf libunwind-build

# Copy libgcc since musl may depend on symbols defined in it
cp $($CC $CFLAGS -print-libgcc-file-name) /musl-$TAG/lib

0 comments on commit dda7524

Please sign in to comment.