From d1c05385d105d2b248088758af4c3cd1215149ff Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 1 Mar 2018 18:04:31 +0100 Subject: [PATCH] Drop -O3 for ppc* to work-around FTBFS with gcc 8.0 Related: rhbz#1544349 Version: 10.3-1 --- postgresql.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgresql.spec b/postgresql.spec index 01bf85a..bfbc197 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -412,7 +412,7 @@ cd .. CFLAGS="${CFLAGS:-%optflags}" %ifarch %{power64} # See the bug #1051075, ppc64 should benefit from -O3 -CFLAGS=`echo $CFLAGS | xargs -n 1 | sed 's|-O2|-O3|g' | xargs -n 100` +# CFLAGS=`echo $CFLAGS | xargs -n 1 | sed 's|-O2|-O3|g' | xargs -n 100` %endif # Strip out -ffast-math from CFLAGS.... CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`