diff options
-rw-r--r-- | stage2-musl-fix-specs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2-musl-fix-specs b/stage2-musl-fix-specs index d7ec95d4..6bcd3d16 100644 --- a/stage2-musl-fix-specs +++ b/stage2-musl-fix-specs @@ -21,7 +21,7 @@ specs_dir="$(dirname $($TARGET_STAGE1-gcc --print-libgcc-file-name))" target_specs_dir="$DESTDIR/${specs_dir#$sysroot}" mkdir -p "$target_specs_dir" -$MUSL_TARGET_STAGE1-gcc -dumpspecs | +$TARGET_STAGE1-gcc -dumpspecs | sed -e "s@[gMS]\?crt[1in].o%s@%:getenv(STAGE2_SYSROOT $PREFIX/lib/&)@g" \ -e "s@ld-linux.so.2@ld-musl-$MORPH_ARCH.so.1@g" \ -e "s@/lib\(64\)\?/ld@$PREFIX/lib/ld@g" \ |