summaryrefslogtreecommitdiffstats
path: root/meta/packages/perl/perl-5.8.8/native-ssp.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-30 08:21:24 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-30 08:21:24 +0000
commitbf8f4d45ee8cea9d44aa4b59065390a22ba91a2f (patch)
treeb5b0ab2d477cf75beab7d225e8c14f165a199a05 /meta/packages/perl/perl-5.8.8/native-ssp.patch
parent1ba6bdf2df5fdfea7c3c93cb2a1fc54c647b6877 (diff)
downloadpoky-bf8f4d45ee8cea9d44aa4b59065390a22ba91a2f.tar.gz
perl: Sync with OE, fix hardcoded staging references
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3034 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl/perl-5.8.8/native-ssp.patch')
-rw-r--r--meta/packages/perl/perl-5.8.8/native-ssp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/perl/perl-5.8.8/native-ssp.patch b/meta/packages/perl/perl-5.8.8/native-ssp.patch
new file mode 100644
index 0000000000..f815aad452
--- /dev/null
+++ b/meta/packages/perl/perl-5.8.8/native-ssp.patch
@@ -0,0 +1,14 @@
1Fix for compiling with ssp enabled gcc:
2See http://bugs.openembedded.org/show_bug.cgi?id=1980
3
4diff -Naur perl-5.8.7.orig/cflags.SH perl-5.8.7/cflags.SH
5--- perl-5.8.7.orig/cflags.SH 2002-09-30 10:59:07.000000000 +0000
6+++ perl-5.8.7/cflags.SH 2005-10-02 04:08:39.000000000 +0000
7@@ -165,6 +165,8 @@
8 esac
9
10 : Can we perhaps use $ansi2knr here
11+ [[ $file == regcomp ]] && export ccflags="${ccflags} -fno-stack-protector"
12+ [[ $file == regexec ]] && export ccflags="${ccflags} -fno-stack-protector"
13 echo "$cc -c -DPERL_CORE $ccflags $optimize $warn"
14 eval "$also "'"$cc -DPERL_CORE -c $ccflags $optimize $warn"'