commit: e220ce0a8abecc5b2fe80780d933ce0fc5ff48ee Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sat Dec 16 20:13:22 2023 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sat Dec 16 20:13:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e220ce0a
dev-lang/perl: Add hack to make Perl build on m68k 23.0 profiles Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> dev-lang/perl/perl-5.38.2-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dev-lang/perl/perl-5.38.2-r1.ebuild b/dev-lang/perl/perl-5.38.2-r1.ebuild index 06095f911631..7f8fd41cd3e8 100644 --- a/dev-lang/perl/perl-5.38.2-r1.ebuild +++ b/dev-lang/perl/perl-5.38.2-r1.ebuild @@ -538,6 +538,10 @@ src_configure() { use sparc && myconf -Ud_longdbl + # This urgently needs debugging - on m68k, miniperl crashes during + # build otherwise.. + use m68k && append-ldflags -Wl,-z,norelro + export BUILD_BZIP2=0 export BZIP2_INCLUDE=${EROOT}/usr/include export BZIP2_LIB=${EROOT}/usr/$(get_libdir)