Accepting request 816511 from server:http

- Disable LTO, this randomly fails during link stage.

- Update Git-Web repository link
- Set CFLAGS+=-fcommon.

OBS-URL: https://build.opensuse.org/request/show/816511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/varnish?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2020-06-23 19:06:17 +00:00 committed by Git OBS Bridge
commit aa25c1095a
2 changed files with 14 additions and 5 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jun 23 07:35:15 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Disable LTO, this randomly fails during link stage.
-------------------------------------------------------------------
Tue Jun 9 19:33:32 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
- Update Git-Web repository link
- Set CFLAGS+=-fcommon.
-------------------------------------------------------------------
Tue Mar 17 12:59:44 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -32,8 +32,7 @@ Summary: Accelerator for HTTP services
License: BSD-2-Clause
Group: Productivity/Networking/Web/Proxy
URL: http://varnish-cache.org/
#Git-Clone: git://git.varnish-cache.org/varnish-cache
#Git-Web: https://varnish-cache.org/trac/browser
#Git-Web: https://github.com/varnishcache/varnish-cache
Source: https://varnish-cache.org/_downloads/%name-%version.tgz
Source3: varnish.sysconfig
Source5: varnish.logrotate
@ -52,9 +51,7 @@ BuildRequires: systemd-rpm-macros
BuildRequires: xz
Requires: c_compiler
Requires(pre): %_sbindir/useradd %_sbindir/groupadd
%if 0%{?suse_version} >= 1010
Recommends: logrotate
%endif
%description
Varnish is an HTTP accelerator. Often called Reverse Proxy, it is an
@ -98,7 +95,8 @@ This package holds the development files for varnish.
%autosetup -p1
%build
export CFLAGS="%optflags -fstack-protector -Wno-error=clobbered -Werror=maybe-uninitialized"
%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"
%endif