Description: Fix FTBFS on ppc64el with gcc 7.3.0 makemake.in: Compile hashtabl.c and package.c with option -O1, instead of -O2. Author: Sébastien Villemot Forwarded: https://lists.debian.org/debian-common-lisp/2018/02/msg00041.html Last-Update: 2018-04-12 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/makemake.in +++ b/src/makemake.in @@ -3006,6 +3006,11 @@ for f in $CPARTS genclisph modules $EXTR # gcc-4.9.2 on Linux/s390x miscompiles lisparit.d when -O2 is used. flags2=$flags2' -O1' fi + if [ \( $f = hashtabl -o $f = package \) -a "$cpu" = powerpc64-elfv2 ] ; then + # gcc-7.3.0 on Linux/powerpc64le miscompiles hashtabl.d and package.d + # when -O2 is used. + flags2=$flags2' -O1' + fi ;; esac else