summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-02-07 21:12:03 +0100
committerFabian Groffen <grobian@gentoo.org>2019-02-07 21:12:03 +0100
commit369de8659d76e9dbc5b50db9a2cb859c012a6455 (patch)
treebb7bd650756e12292839cf4561a2aa893fc78a33
parentscripts/bootstrap-prefix: bump bootstrap snapshot (diff)
downloadprefix-369de865.tar.gz
prefix-369de865.tar.bz2
prefix-369de865.zip
scripts/bootstrap-prefix: get past stage2 on sparc-sun-solaris2.10
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh11
1 files changed, 11 insertions, 0 deletions
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
;;