summaryrefslogtreecommitdiff
path: root/strata/build-essential/stage2-reset-specs.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/build-essential/stage2-reset-specs.morph')
-rw-r--r--strata/build-essential/stage2-reset-specs.morph1
1 files changed, 1 insertions, 0 deletions
diff --git a/strata/build-essential/stage2-reset-specs.morph b/strata/build-essential/stage2-reset-specs.morph
index 8892f67c..82b4f0b7 100644
--- a/strata/build-essential/stage2-reset-specs.morph
+++ b/strata/build-essential/stage2-reset-specs.morph
@@ -14,6 +14,7 @@ kind: chunk
# points to a file that doesn't exist.
install-commands:
- |
+ TARGET_STAGE1=`echo $TARGET_STAGE1 | sed -e 's/bootstrap-linux-gnu/linux-musl/'`
STAGE2_SYSROOT="$(dirname "$(pwd)")"
specs_dir="$(dirname $($TARGET_STAGE1-gcc -print-libgcc-file-name))"
target_specs_dir="$DESTDIR/${specs_dir#$STAGE2_SYSROOT}"