commit: 64926170d7df734cfec916a7787975a32962e206
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 16:46:12 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 16:46:12 2019 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=64926170
scripts/bootstrap-prefix: fix bootstrap on 64-bits solaris
The workaround to put the 64-bits libgcc_s in tmp/tmp only works when
tmp/tmp exists, which it doesn't by default.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index d014d9dbb2..f70c99ce58 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1598,6 +1598,7 @@ bootstrap_stage2() {
# specific libgcc_s, but existing objs need to find this
# libgcc_s for as long as they are around (bash->libreadline)
LDFLAGS="${LDFLAGS} -R${ROOT}/tmp/tmp"
+ mkdir -p "${ROOT}"/tmp/tmp/
cp "${libgccs64}" "${ROOT}"/tmp/tmp/
fi