diff options
Diffstat (limited to 'debian/patches/debian/sh4_op_optimize_workaround.diff')
-rw-r--r-- | debian/patches/debian/sh4_op_optimize_workaround.diff | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/debian/sh4_op_optimize_workaround.diff b/debian/patches/debian/sh4_op_optimize_workaround.diff new file mode 100644 index 0000000..7038a31 --- /dev/null +++ b/debian/patches/debian/sh4_op_optimize_workaround.diff @@ -0,0 +1,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;; + |