perl_5.12.2.bb: Undefine features not found in uclibc

[sgw: cleaned whitespace issue, removed unneeded ;patch=1]
(From OE-Core rev: b868f6784f57db569bf300722324b3c8869de7bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj 2011-03-31 20:56:35 -07:00 committed by Richard Purdie
parent 5f37ef4681
commit fbdbdb161e
2 changed files with 7 additions and 23 deletions

View File

@ -1,16 +0,0 @@
Upstream-Status:Inappropriate [embedded specific]
Fix for compiling with ssp enabled gcc:
See http://bugs.openembedded.net/show_bug.cgi?id=1980
diff -Naur perl-5.8.7.orig/cflags.SH perl-5.8.7/cflags.SH
--- perl-5.8.7.orig/cflags.SH 2002-09-30 10:59:07.000000000 +0000
+++ perl-5.8.7/cflags.SH 2005-10-02 04:08:39.000000000 +0000
@@ -165,6 +165,8 @@
esac
: Can we perhaps use $ansi2knr here
+ [[ $file == regcomp ]] && export ccflags="${ccflags} -fno-stack-protector"
+ [[ $file == regexec ]] && export ccflags="${ccflags} -fno-stack-protector"
echo "$cc -c -DPERL_CORE $ccflags $optimize $warn"
eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $warn"'

View File

@ -58,13 +58,13 @@ SRC_URI = "http://www.cpan.org/src/5.0/perl-${PV}.tar.gz \
file://parallel_build_fix_4.patch \
file://parallel_build_fix_5.patch \
file://parallel_build_fix_6.patch \
file://Makefile.SH.patch;patch=1 \
file://installperl.patch;patch=1 \
file://perl-dynloader.patch;patch=1 \
file://perl-moreconfig.patch;patch=1 \
file://letgcc-find-errno.patch;patch=1 \
file://generate-sh.patch;patch=1 \
file://09_fix_installperl.patch;patch=1 \
file://Makefile.SH.patch \
file://installperl.patch \
file://perl-dynloader.patch \
file://perl-moreconfig.patch \
file://letgcc-find-errno.patch \
file://generate-sh.patch \
file://09_fix_installperl.patch \
file://native-perlinc.patch \
file://perl-enable-gdbm.patch \
file://cross-generate_uudmap.patch \