summaryrefslogtreecommitdiff
path: root/debian/patches/debian/hppa_opmini_optimize_workaround.diff
blob: 8e0efb79d1262d6f453e0f31e32a7ec2d26cff41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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";;