aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorYen-Chin Lee <coldnew.tw@gmail.com>2015-08-19 05:54:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-24 23:43:27 +0100
commit4c76dd4ee10e3be147951824a4c082f271f90e62 (patch)
treeebe302b681c8956fdf637cee32753bf2fb5b45cf /meta
parent5724e4d245f142ac6fb1ea211503fd220683354d (diff)
downloadopenembedded-core-contrib-4c76dd4ee10e3be147951824a4c082f271f90e62.tar.gz
perl: Undefine finitel for uclibc
finitel is not implemented in uclibc 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: Yen-Chin Lee <coldnew.tw@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-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 e3a7f41886..3ce7849f9e 100644
--- a/meta/recipes-devtools/perl/perl_5.22.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
@@ -134,6 +134,7 @@ do_configure() {
if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
-e "s,\(d_futimes=\)'define',\1'undef',g" \
+ -e "s,\(d_finitel=\)'define',\1'undef',g" \
-e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \
-e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
-e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \