summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Dale <richard.dale@codethink.co.uk>2015-04-08 08:23:55 +0000
committerSimon Hoinkis <simon.hoinkis@codethink.co.uk>2015-04-08 08:45:13 +0000
commit68addf5a2821348b5bca2254ae9f83dc259b6979 (patch)
tree068a23e2dd417825576e60a95f790670a6608e52
parent12cc52b5f2ca421786dc7ac227a0d41a8c8ed0c2 (diff)
downloadmusl-68addf5a2821348b5bca2254ae9f83dc259b6979.tar.gz
Use $TARGET_STAGE1 in stage2-musl-fix-specs
-rw-r--r--stage2-musl-fix-specs3
1 files changed, 1 insertions, 2 deletions
diff --git a/stage2-musl-fix-specs b/stage2-musl-fix-specs
index 5e7f830d..d7ec95d4 100644
--- a/stage2-musl-fix-specs
+++ b/stage2-musl-fix-specs
@@ -16,9 +16,8 @@
set -eu
-MUSL_TARGET_STAGE1=x86_64-linux-musl
sysroot="$(dirname "$(pwd)")"
-specs_dir="$(dirname $($MUSL_TARGET_STAGE1-gcc --print-libgcc-file-name))"
+specs_dir="$(dirname $($TARGET_STAGE1-gcc --print-libgcc-file-name))"
target_specs_dir="$DESTDIR/${specs_dir#$sysroot}"
mkdir -p "$target_specs_dir"