summaryrefslogtreecommitdiff
path: root/debian/patches/debian/sh4_op_optimize_workaround.diff
blob: 7038a31b03f9dc077d79f8c3f608466c60df5575 (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
27
28
29
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
---
 cflags.SH | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cflags.SH b/cflags.SH
index c8231e6..3bb0c3e 100755
--- a/cflags.SH
+++ b/cflags.SH
@@ -497,9 +497,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;;