clisp/clisp-s390x.diff

17 lines
581 B
Diff

diff -r f618e42f6fef src/makemake.in
--- a/src/makemake.in Mon Feb 12 01:32:02 2018 +0100
+++ b/src/makemake.in Mon Feb 12 20:06:47 2018 +0100
@@ -2990,9 +2990,10 @@
# use and -O2.
flags2=$flags2' -O1'
fi
- if [ $f = lisparit -a "$cpu" = s390x ] ; then
+ if [ "$cpu" = s390x ] ; then
# gcc-4.9.2 on Linux/s390x miscompiles lisparit.d when -O2 is used.
- flags2=$flags2' -O1'
+ # gcc-7.3 on Linux/s390x miscompiles something when -O is used.
+ flags2=$flags2' -O0'
fi
;;
esac