summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2015-04-08 13:02:20 +0000
committerRichard Dale <richard.dale@codethink.co.uk>2015-04-20 15:27:54 +0100
commitc7ac6a91178945b79dbbce5ed09e55062e67f7db (patch)
tree9a5575bbcc9b3c37c5be3c57351fa7305384b04d
parent68addf5a2821348b5bca2254ae9f83dc259b6979 (diff)
downloadmusl-baserock/1.1.6.tar.gz
Use $TARGET_STAGE1 as part of gcc's name in the stage2-musl-fix-specs scriptbaserock/1.1.6
-rw-r--r--stage2-musl-fix-specs2
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" \