diff options
author | Fabian Groffen <grobian@gentoo.org> | 2019-03-12 17:46:12 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2019-03-12 17:46:12 +0100 |
commit | 64926170d7df734cfec916a7787975a32962e206 (patch) | |
tree | 34830dd125c4809f0a6afbdbcd26c6e77b47f118 | |
parent | scripts/bootstrap-prefix: avoid errors for every emerge (diff) | |
download | prefix-64926170d7df734cfec916a7787975a32962e206.tar.gz prefix-64926170d7df734cfec916a7787975a32962e206.tar.bz2 prefix-64926170d7df734cfec916a7787975a32962e206.zip |
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@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |