diff --git a/varnish.changes b/varnish.changes index e904e37..1ba0221 100644 --- a/varnish.changes +++ b/varnish.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Aug 18 07:08:52 UTC 2016 - dimstar@opensuse.org + +- Add "-ffloat-store -fexcess-precision=standard" to CFLAGS when + building for ix86, working around bug gcc#323. See also + gh#varnish/Varnish-Cache#88. + ------------------------------------------------------------------- Fri Apr 22 14:15:43 UTC 2016 - jengelh@inai.de diff --git a/varnish.spec b/varnish.spec index b37859d..0f68cde 100644 --- a/varnish.spec +++ b/varnish.spec @@ -97,6 +97,9 @@ This package holds the development files for varnish. %build export CFLAGS="%optflags -fstack-protector" +%ifarch %ix86 +export CFLAGS+=" -ffloat-store -fexcess-precision=standard" +%endif %configure --disable-static --docdir="%_docdir/%name" \ --localstatedir="%_localstatedir/cache/" \ --disable-silent-rules \