aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl/debian/hppa_opmini_optimize_workaround.diff
blob: 0e3406d95e44cae11b497f7cad70437d52a45cb8 (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
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";;