From 0224083dae22a0bd43f0c17626fe7f98ba9d3842 Mon Sep 17 00:00:00 2001 From: sweeaun Date: Wed, 5 Jul 2017 16:56:37 -0700 Subject: perl: Support musl-x32 build Existing musl fixups in perl recipe doesn't cover linux-muslx32. This is fixed to support musl-x32 build. (From OE-Core rev: 4a50250edb48510fa6382b2700a39a74847d287b) Signed-off-by: sweeaun Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/perl/perl_5.24.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-devtools/perl') diff --git a/meta/recipes-devtools/perl/perl_5.24.1.bb b/meta/recipes-devtools/perl/perl_5.24.1.bb index b0ceb84912..95d9694005 100644 --- a/meta/recipes-devtools/perl/perl_5.24.1.bb +++ b/meta/recipes-devtools/perl/perl_5.24.1.bb @@ -125,7 +125,7 @@ do_configure() { done # Fixups for musl - if [ "${TARGET_OS}" = "linux-musl" -o "${TARGET_OS}" = "linux-musleabi" ]; then + if [ "${TARGET_OS}" = "linux-musl" -o "${TARGET_OS}" = "linux-musleabi" -o "${TARGET_OS}" = "linux-muslx32" ]; then sed -i -e "s,\(d_libm_lib_version=\)'define',\1'undef',g" \ -e "s,\(d_stdio_ptr_lval=\)'define',\1'undef',g" \ -e "s,\(d_stdio_ptr_lval_sets_cnt=\)'define',\1'undef',g" \ -- cgit v1.2.3-54-g00ecf