commit:     55b666b7769da3eac953b3da83520a3b4f17c870
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 27 07:08:59 2018 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Jun 27 07:08:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=55b666b7

sys-devel/gcc: fix compilation on >=Solaris-11, bug #657514

Closes: https://bugs.gentoo.org/657514
Package-Manager: Portage-2.3.40.3-prefix, Repoman-2.3.9

 sys-devel/gcc/gcc-7.3.0-r3.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-devel/gcc/gcc-7.3.0-r3.ebuild 
b/sys-devel/gcc/gcc-7.3.0-r3.ebuild
index c4484c440f..6ffede9695 100644
--- a/sys-devel/gcc/gcc-7.3.0-r3.ebuild
+++ b/sys-devel/gcc/gcc-7.3.0-r3.ebuild
@@ -64,6 +64,11 @@ src_configure() {
                *-solaris*)
                        # todo: some magic for native vs. GNU linking?
                        myconf+=( --with-gnu-ld --with-gnu-as 
--enable-largefile )
+                       # Solaris 11 defines this in its headers, but that 
causes a
+                       # mismatch whilst compiling, bug #657514
+                       export ac_cv_func_aligned_alloc=no
+                       export ac_cv_func_memalign=no
+                       export ac_cv_func_posix_memalign=no
                ;;
                i[34567]86-*-linux*:*" prefix "*)
                        # to allow the linux-x86-on-amd64.patch become useful, 
we need

Reply via email to