diff options
author | Fabian Groffen <grobian@gentoo.org> | 2018-03-04 21:50:37 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2018-03-04 21:50:50 +0100 |
commit | f9f4e394b7450cbe7ce218eb141a303459293cce (patch) | |
tree | d551127c9eb124c503f5b21b7277704494dfcdfd /app-portage/hashgen | |
parent | dev-libs/gobject-introspection: stable 1.52.1 for ppc, bug #631656 (diff) | |
download | gentoo-f9f4e394b7450cbe7ce218eb141a303459293cce.tar.gz gentoo-f9f4e394b7450cbe7ce218eb141a303459293cce.tar.bz2 gentoo-f9f4e394b7450cbe7ce218eb141a303459293cce.zip |
app-portage/hashgen: use 64-bits file interface on 32-bits Solaris
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-portage/hashgen')
-rw-r--r-- | app-portage/hashgen/hashgen-1.0.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app-portage/hashgen/hashgen-1.0.ebuild b/app-portage/hashgen/hashgen-1.0.ebuild index a27739de9e50..26a83a7bc513 100644 --- a/app-portage/hashgen/hashgen-1.0.ebuild +++ b/app-portage/hashgen/hashgen-1.0.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit toolchain-funcs +inherit toolchain-funcs flag-o-matic DESCRIPTION="Manifest generation and verification tool written in C" HOMEPAGE="https://prefix.gentoo.org/" @@ -40,6 +40,9 @@ src_compile() { local openmp= use openmp && tc-has-openmp && openmp=-fopenmp + [[ ${CHOST} == sparc-*-solaris2* || ${CHOST} == i?86-*-solaris2* ]] \ + && append-flags -D_FILE_OFFSET_BITS=64 + v $(tc-getCC) -o hashgen ${openmp} ${CFLAGS} \ $(pkg-config openssl --libs) \ $(gpgme-config --libs) \ |