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"