summaryrefslogtreecommitdiff
path: root/debian/patches/debian/hppa_opmini_optimize_workaround.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/debian/hppa_opmini_optimize_workaround.diff')
-rw-r--r--debian/patches/debian/hppa_opmini_optimize_workaround.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/debian/hppa_opmini_optimize_workaround.diff b/debian/patches/debian/hppa_opmini_optimize_workaround.diff
new file mode 100644
index 0000000..8e0efb7
--- /dev/null
+++ b/debian/patches/debian/hppa_opmini_optimize_workaround.diff
@@ -0,0 +1,26 @@
+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
+---
+ cflags.SH | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cflags.SH b/cflags.SH
+index 3e4526f..c8231e6 100755
+--- a/cflags.SH
++++ b/cflags.SH
+@@ -497,7 +497,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";;