aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/debian/hppa_opmini_optimize_workaround.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl/debian/hppa_opmini_optimize_workaround.diff')
-rw-r--r--meta/recipes-devtools/perl/perl/debian/hppa_opmini_optimize_workaround.diff28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl/debian/hppa_opmini_optimize_workaround.diff b/meta/recipes-devtools/perl/perl/debian/hppa_opmini_optimize_workaround.diff
new file mode 100644
index 0000000000..0e3406d95e
--- /dev/null
+++ b/meta/recipes-devtools/perl/perl/debian/hppa_opmini_optimize_workaround.diff
@@ -0,0 +1,28 @@
+From 4504a9bbc3802a6aa32b1a3e89644ae2865cb82a Mon Sep 17 00:00:00 2001
+From: Niko Tyni <ntyni@debian.org>
+Date: Sat, 29 Jul 2017 23:30:20 +0300
+Subject: Lower the optimization level of opmini.c on hppa
+
+This further amends debian/hppa_op_optimize_workaround.diff to affect
+miniperl too.
+
+Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538
+Bug-Debian: https://bugs.debian.org/869122
+Patch-Name: debian/hppa_opmini_optimize_workaround.diff
+---
+ cflags.SH | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cflags.SH b/cflags.SH
+index 7a57d7e0cd..ae3b1e88f0 100755
+--- a/cflags.SH
++++ b/cflags.SH
+@@ -493,7 +493,7 @@ for file do
+ # or customize here
+
+ case "$file" in
+- op) : work around http://bugs.debian.org/838613
++ op|opmini) : work around http://bugs.debian.org/838613 and 869122
+ case $archname in
+ hppa-*)
+ optimize="$optimize -O0";;