Skip to content

Commit

Permalink
app-portage/hashgen: use 64-bits file interface on 32-bits Solaris
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
grobian committed Mar 4, 2018
1 parent 330e068 commit f9f4e39
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app-portage/hashgen/hashgen-1.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand Down Expand Up @@ -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) \
Expand Down

0 comments on commit f9f4e39

Please sign in to comment.