summaryrefslogtreecommitdiffstats
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:46:57 +0100
commit7ce920920d9d466c05dea63c5bb9272984a0973a (patch)
tree0ebf45834d33c17db2051d615a66914845025cb5
parentaced11f4dc8fb4f217360198e8c4cda2cdf620e0 (diff)
downloadpoky-7ce920920d9d466c05dea63c5bb9272984a0973a.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 (From OE-Core rev: 4c76dd4ee10e3be147951824a4c082f271f90e62) Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() {
134 if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then 134 if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
135 sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \ 135 sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
136 -e "s,\(d_futimes=\)'define',\1'undef',g" \ 136 -e "s,\(d_futimes=\)'define',\1'undef',g" \
137 -e "s,\(d_finitel=\)'define',\1'undef',g" \
137 -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \ 138 -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \
138 -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \ 139 -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
139 -e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \ 140 -e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \