diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-09-11 17:32:46 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-09-11 18:03:42 +0200 |
commit | 8cda54159254005417ef6bfc943e60f8092aa095 (patch) | |
tree | cc7514433efd81e431f350157b4c5f0e58fad5e6 /dev-lang/perl/perl-5.28.9999.ebuild | |
parent | net-wireless/unifi: bump to 5.11.46 (diff) | |
download | gentoo-8cda54159254005417ef6bfc943e60f8092aa095.tar.gz gentoo-8cda54159254005417ef6bfc943e60f8092aa095.tar.bz2 gentoo-8cda54159254005417ef6bfc943e60f8092aa095.zip |
dev-lang/perl: Combine -Dd_u32align definitions, add HPPA
Although unaligned accesses are not fatal on PARISC, as they are
automatically realigned as they occur, this has a non-trivial impact on
performance that ought to be fixed upstream. Work around it the same way
sparc*-* does and combine both efforts into a single myconf() call.
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Bug: https://bugs.gentoo.org/676062
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-lang/perl/perl-5.28.9999.ebuild')
-rw-r--r-- | dev-lang/perl/perl-5.28.9999.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-lang/perl/perl-5.28.9999.ebuild b/dev-lang/perl/perl-5.28.9999.ebuild index 2c066883bceb..c5309aeccc88 100644 --- a/dev-lang/perl/perl-5.28.9999.ebuild +++ b/dev-lang/perl/perl-5.28.9999.ebuild @@ -375,7 +375,6 @@ src_configure() { filter-flags "-flto" use sparc && myconf -Ud_longdbl - use sparc && myconf -Dd_u32align # bug #676062 export BUILD_BZIP2=0 export BZIP2_INCLUDE=${EROOT}/usr/include @@ -467,7 +466,9 @@ src_configure() { # fix unaligned access misdetection # https://rt.perl.org/Public/Bug/Display.html?id=133495 - [[ ${CHOST} == sparc*-solaris* ]] && myconf "-Dd_u32align='define'" + # bug #676062 + use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \ + myconf "-Dd_u32align='define'" # Prefix: the host system needs not to follow Gentoo multilib stuff, and in # Prefix itself we don't do multilib either, so make sure perl can find |