From 86a805f2f65d745d44a0a451ab5cb444bf13d5815188840ac1c95186aa13f5f9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 18 Aug 2016 08:46:22 +0000 Subject: [PATCH] Accepting request 419852 from home:dimstar:branches:server:http Fix build on openSUSE:Factory i586 OBS-URL: https://build.opensuse.org/request/show/419852 OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=78 --- varnish.changes | 7 +++++++ varnish.spec | 3 +++ 2 files changed, 10 insertions(+) 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 \