sys-devel/gdb: fix building on 32-bits Solaris
authorFabian Groffen <grobian@gentoo.org>
Sat, 26 Aug 2017 09:39:05 +0000 (11:39 +0200)
committerFabian Groffen <grobian@gentoo.org>
Sun, 27 Aug 2017 09:08:09 +0000 (11:08 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

sys-devel/gdb/gdb-8.0.ebuild

index ade9882471805f9c1b0834218b1e746c22134c0c..0d6594032e043a66bb49c571f23cde7e546b78db 100644 (file)
@@ -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[@]}"
 }