aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/debian/sh4_op_optimize_workaround.diff
blob: 6ff0f8967c15a46fd23b5f8fcaca76903a5c29b4 (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
30
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;;