commit:     487eeee2642f9af47d342ab57bef98d7d5e44a30
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 26 09:39:05 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Aug 27 09:08:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=487eeee2

sys-devel/gdb: fix building on 32-bits Solaris

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-devel/gdb/gdb-8.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-devel/gdb/gdb-8.0.ebuild b/sys-devel/gdb/gdb-8.0.ebuild
index ade98824718..0d6594032e0 100644
--- a/sys-devel/gdb/gdb-8.0.ebuild
+++ b/sys-devel/gdb/gdb-8.0.ebuild
@@ -164,6 +164,11 @@ src_configure() {
                        $(use_with python python "${EPYTHON}")
                )
        fi
+       if use sparc-solaris || x86-solaris ; then
+               # disable largefile support
+               # https://sourceware.org/ml/gdb-patches/2014-12/msg00058.html
+               myconf+=( --disable-largefile )
+       fi
 
        econf "${myconf[@]}"
 }

Reply via email to