diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-09 21:15:14 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-03-09 21:15:35 +0100 |
commit | cfaa0221b7202553c854c0a791894c928b7fc13a (patch) | |
tree | d515febd306b2b46e0d9abb1733c38ced117b507 /media-libs/gd | |
parent | dev-libs/openssl: amd64 stable wrt bug #678564 (diff) | |
download | gentoo-cfaa0221b7202553c854c0a791894c928b7fc13a.tar.gz gentoo-cfaa0221b7202553c854c0a791894c928b7fc13a.tar.bz2 gentoo-cfaa0221b7202553c854c0a791894c928b7fc13a.zip |
media-libs/gd: add workaround for rounding problem on some architectures
Bug: https://github.com/libgd/libgd/issues/278
Closes: https://bugs.gentoo.org/632076
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'media-libs/gd')
-rw-r--r-- | media-libs/gd/gd-2.2.5-r2.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media-libs/gd/gd-2.2.5-r2.ebuild b/media-libs/gd/gd-2.2.5-r2.ebuild index 0dcb8668045e..4e7248ab237f 100644 --- a/media-libs/gd/gd-2.2.5-r2.ebuild +++ b/media-libs/gd/gd-2.2.5-r2.ebuild @@ -66,6 +66,11 @@ multilib_src_configure() { append-cflags -ffloat-store fi + # bug 632076, https://github.com/libgd/libgd/issues/278 + if use arm64 || use ppc64 || use s390 ; then + append-cflags -ffp-contract=off + fi + # we aren't actually {en,dis}abling X here ... the configure # script uses it just to add explicit -I/-L paths which we # don't care about on Gentoo systems. |