commit: 369de8659d76e9dbc5b50db9a2cb859c012a6455
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 7 20:12:03 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Feb 7 20:12:03 2019 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=369de865
scripts/bootstrap-prefix: get past stage2 on sparc-sun-solaris2.10
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
scripts/bootstrap-prefix.sh | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 7be6feb902..5d31ee4de6 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -299,6 +299,17 @@ configure_toolchain() {
sys-devel/llvm
sys-devel/clang"
;;
+ *-solaris*)
+ local ccvers="$( (unset CHOST; gcc --version
2>/dev/null) )"
+ case "${ccvers}" in
+ *"gcc (GCC) 3.4.3"*)
+ # host compiler doesn't cope with the
asm introduced
+ # in mpfr-4, so force using an older
one during
+ # bootstrap for this target
+ compiler_stage1="<dev-libs/mpfr-4
${compiler_stage1}"
+ ;;
+ esac
+ ;;
*-*-aix*)
linker=sys-devel/native-cctools
;;