dev-lang/perl: Add alignment fix also for armv5te, bug 688432
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Wed, 16 Oct 2019 12:33:35 +0000 (14:33 +0200)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Wed, 16 Oct 2019 12:35:09 +0000 (14:35 +0200)
Closes: https://bugs.gentoo.org/688432
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
dev-lang/perl/perl-5.28.2-r1.ebuild
dev-lang/perl/perl-5.30.0.ebuild

index 9ef9792798d4472ae6d3ea600dcc7369d7a509d9..7b7d5e187dfdb882f4e648792345d15ceec3c0ce 100644 (file)
@@ -468,9 +468,11 @@ src_configure() {
 
        # fix unaligned access misdetection
        # https://rt.perl.org/Public/Bug/Display.html?id=133495
-       # bug #676062
-       use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \
-               myconf "-Dd_u32align='define'"
+       # https://rt.perl.org/Public/Bug/Display.html?id=133803
+       # bug #676062, bug #688432
+       use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] || \
+               [[ ${CHOST} == armv5tel* ]] \
+                       && 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
index 47ecb930d47165db7f7da7298bbf5fef5327f4c4..0b85d04ff374dddfac578f38a5157e28e5502bff 100644 (file)
@@ -464,9 +464,11 @@ src_configure() {
 
        # fix unaligned access misdetection
        # https://rt.perl.org/Public/Bug/Display.html?id=133495
-       # bug #676062
-       use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] && \
-               myconf "-Dd_u32align='define'"
+       # https://rt.perl.org/Public/Bug/Display.html?id=133803
+       # bug #676062, bug #688432
+       use hppa || use sparc || [[ ${CHOST} == sparc*-solaris* ]] || \
+               [[ ${CHOST} == armv5tel* ]] \
+                       && 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