From c88194dd38716d65749b60020432e1e795d05c5ee7e25a4ba05bc49c48b84fe6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 23 Jun 2020 07:35:26 +0000 Subject: [PATCH] - Disable LTO, this randomly fails during link stage. OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=102 --- varnish.changes | 5 +++++ varnish.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/varnish.changes b/varnish.changes index 78cf0db..65e34a8 100644 --- a/varnish.changes +++ b/varnish.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 23 07:35:15 UTC 2020 - Jan Engelhardt + +- Disable LTO, this randomly fails during link stage. + ------------------------------------------------------------------- Tue Jun 9 19:33:32 UTC 2020 - Jan Engelhardt diff --git a/varnish.spec b/varnish.spec index b67c8be..812ba34 100644 --- a/varnish.spec +++ b/varnish.spec @@ -95,6 +95,7 @@ This package holds the development files for varnish. %autosetup -p1 %build +%define _lto_cflags %nil export CFLAGS="%optflags -fcommon -fstack-protector -Wno-error=clobbered -Werror=maybe-uninitialized" %ifarch %ix86 export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"