mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 18:35:32 +00:00
Rollup merge of #59468 - mati865:musl_toolchain, r=pnkfelix
musl: build toolchain libs with -fPIC Fixes https://github.com/rust-lang/rust/issues/59411
This commit is contained in:
@@ -29,6 +29,10 @@ TARGET=$ARCH-linux-musl
|
||||
OUTPUT=/usr/local
|
||||
shift
|
||||
|
||||
# Ancient binutils versions don't understand debug symbols produced by more recent tools.
|
||||
# Apparently applying `-fPIC` everywhere allows them to link successfully.
|
||||
export CFLAGS="-fPIC $CFLAGS"
|
||||
|
||||
git clone https://github.com/richfelker/musl-cross-make -b v0.9.7
|
||||
cd musl-cross-make
|
||||
|
||||
|
||||
Reference in New Issue
Block a user