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