diff --git a/lang/perl/Makefile b/lang/perl/Makefile index b3eb5a03f3..23de7a91a1 100644 --- a/lang/perl/Makefile +++ b/lang/perl/Makefile @@ -11,7 +11,7 @@ include perlver.mk PKG_NAME:=perl PKG_VERSION:=$(PERL_VERSION) -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_SOURCE_URL:=https://www.cpan.org/src/5.0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/lang/perl/files/loongarch64.config b/lang/perl/files/loongarch64.config new file mode 100644 index 0000000000..759eb22aa8 --- /dev/null +++ b/lang/perl/files/loongarch64.config @@ -0,0 +1,21 @@ +# Architecture definitions +owrt:arch=loongarch64 +owrt:bits=64 +owrt:endian=little + +# Signals, from installed standard headers (asm-generic/signal.h) +owrt:sig_count=64 +owrt:sigs='ZERO HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH IO PWR SYS' +owrt:sig_name_extra='IOT CLD POLL UNUSED' +owrt:sig_num_extra='6 17 29 31' + +# Took from existing Perl 5.40 build. +d_casti32='define' +d_long_double_style_ieee='define' +d_long_double_style_ieee_std='define' +d_modflproto='define' +doublekind='3' +fpossize='16' +longdblkind='1' +need_va_copy='undef' +quadkind='2'