mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 12:32:13 +02:00
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 <swee.aun.khor@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user