Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: sys-devel/gcc/
Date: Wed, 27 Jun 2018 07:09:58
Message-Id: 1530083339.55b666b7769da3eac953b3da83520a3b4f17c870.grobian@gentoo
1 commit: 55b666b7769da3eac953b3da83520a3b4f17c870
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 27 07:08:59 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 27 07:08:59 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=55b666b7
7
8 sys-devel/gcc: fix compilation on >=Solaris-11, bug #657514
9
10 Closes: https://bugs.gentoo.org/657514
11 Package-Manager: Portage-2.3.40.3-prefix, Repoman-2.3.9
12
13 sys-devel/gcc/gcc-7.3.0-r3.ebuild | 5 +++++
14 1 file changed, 5 insertions(+)
15
16 diff --git a/sys-devel/gcc/gcc-7.3.0-r3.ebuild b/sys-devel/gcc/gcc-7.3.0-r3.ebuild
17 index c4484c440f..6ffede9695 100644
18 --- a/sys-devel/gcc/gcc-7.3.0-r3.ebuild
19 +++ b/sys-devel/gcc/gcc-7.3.0-r3.ebuild
20 @@ -64,6 +64,11 @@ src_configure() {
21 *-solaris*)
22 # todo: some magic for native vs. GNU linking?
23 myconf+=( --with-gnu-ld --with-gnu-as --enable-largefile )
24 + # Solaris 11 defines this in its headers, but that causes a
25 + # mismatch whilst compiling, bug #657514
26 + export ac_cv_func_aligned_alloc=no
27 + export ac_cv_func_memalign=no
28 + export ac_cv_func_posix_memalign=no
29 ;;
30 i[34567]86-*-linux*:*" prefix "*)
31 # to allow the linux-x86-on-amd64.patch become useful, we need