From e220ce0a8abecc5b2fe80780d933ce0fc5ff48ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Sat, 16 Dec 2023 21:13:22 +0100 Subject: [PATCH] dev-lang/perl: Add hack to make Perl build on m68k 23.0 profiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas K. Hüttel --- 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 06095f9116315..7f8fd41cd3e89 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)