aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/debian/sh4_op_optimize_workaround.diff
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-09-06 22:00:25 -0700
committerTim Orling <timothy.t.orling@linux.intel.com>2018-09-06 22:07:29 -0700
commit610991e483d2cf6a6b82322406630ed30547e844 (patch)
tree574c2ad4fee17b8ab5d3dc3dc359b16f96de1187 /meta/recipes-devtools/perl/perl/debian/sh4_op_optimize_workaround.diff
parent0191456d81500f312569f5813f8c4d5ddadc17a7 (diff)
downloadopenembedded-core-contrib-610991e483d2cf6a6b82322406630ed30547e844.tar.gz
perl: [WIP] upgrade to 5.26.2timo/perl-5.26.2
Bring in patches from debian, best effort at getting past do_patch task. Needs more work. Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl/debian/sh4_op_optimize_workaround.diff')
-rw-r--r--meta/recipes-devtools/perl/perl/debian/sh4_op_optimize_workaround.diff31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/debian/sh4_op_optimize_workaround.diff b/meta/recipes-devtools/perl/perl/debian/sh4_op_optimize_workaround.diff
new file mode 100644
index 0000000000..6ff0f8967c
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl/debian/sh4_op_optimize_workaround.diff
@@ -0,0 +1,31 @@
+From 540afd0f01e5179cdb247daeaa9160939f8462a0 Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni@debian.org>
+Date: Sat, 29 Jul 2017 23:32:51 +0300
+Subject: Also lower the optimization level of op.c and opmini.c on sh4
+
+This amends
+ debian/hppa_op_optimize_workaround.diff
+ debian/hppa_opmini_optimize_workaround.diff
+
+Bug-Debian: https://bugs.debian.org/869373
+Patch-Name: debian/sh4_op_optimize_workaround.diff
+---
+ cflags.SH | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cflags.SH b/cflags.SH
+index ae3b1e88f0..daa73a1659 100755
+--- a/cflags.SH
++++ b/cflags.SH
+@@ -493,9 +493,9 @@ for file do
+ # or customize here
+
+ case "$file" in
+- op|opmini) : work around http://bugs.debian.org/838613 and 869122
++ op|opmini) : work around http://bugs.debian.org/838613 869122 869373
+ case $archname in
+- hppa-*)
++ hppa-*|sh4-*)
+ optimize="$optimize -O0";;
+ esac;;
+