aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/perl/perl-5.10.1/native-ssp.patch
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-26 13:00:43 +0200
committerKhem Raj <raj.khem@gmail.com>2010-09-26 09:43:17 -0700
commit01b2fe3c1aa86d1a9af07a3be4652c5df8395cca (patch)
tree69284bab31a82513b5003bcabd3f860d658b2dad /recipes/obsolete/perl/perl-5.10.1/native-ssp.patch
parent2bfd4efcd2fff4e409a0ee81e0095e6002667535 (diff)
downloadopenembedded-01b2fe3c1aa86d1a9af07a3be4652c5df8395cca.tar.gz
perl: moved a few unused patches to obsolete
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/obsolete/perl/perl-5.10.1/native-ssp.patch')
-rw-r--r--recipes/obsolete/perl/perl-5.10.1/native-ssp.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes/obsolete/perl/perl-5.10.1/native-ssp.patch b/recipes/obsolete/perl/perl-5.10.1/native-ssp.patch
new file mode 100644
index 0000000000..1c825f50d0
--- /dev/null
+++ b/recipes/obsolete/perl/perl-5.10.1/native-ssp.patch
@@ -0,0 +1,14 @@
+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"'