summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-07-01 20:52:23 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-07 23:57:11 +0100
commit6a5cc63e2d054f5e328e8c535a3dd11dab876c41 (patch)
tree49dd015e7320285f42c33a068878d75cc43a3c4f
parent9992208ad7fdf27703e9470fa6b80ab94274b3f6 (diff)
downloadopenembedded-core-6a5cc63e2d054f5e328e8c535a3dd11dab876c41.tar.gz
openembedded-core-6a5cc63e2d054f5e328e8c535a3dd11dab876c41.tar.bz2
openembedded-core-6a5cc63e2d054f5e328e8c535a3dd11dab876c41.zip
perl: Undefine finitel for musl
finitel is not implemented in musl and since its not posix, it wont be implemented in future too Fixes perl 5.22 build error perl/5.22.0-r0/perl-5.22.0/sv.c:12135: undefined reference to `finitel' | collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/perl/perl_5.22.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
index 1aa97373e0..050a98c91f 100644
--- a/meta/recipes-devtools/perl/perl_5.22.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
@@ -158,6 +158,7 @@ do_configure() {
-e "s,\(d_stdiobase=\)'define',\1'undef',g" \
-e "s,\(d_stdstdio=\)'define',\1'undef',g" \
-e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
+ -e "s,\(d_finitel=\)'define',\1'undef',g" \
-e "s,\(getprotobyname_r=\)'define',\1'undef',g" \
-e "s,\(getpwent_r=\)'define',\1'undef',g" \
-e "s,\(getservent_r=\)'define',\1'undef',g" \