Added "-ffloat-store -fexcess-precision=standard" to CFLAGS on i386
to work around a bug in gcc6, see https://github.com/dhobsd/Varnish-Cache/commit/9f1035d - Quieted unpacking of distro package source
This commit is contained in:
parent
a0e86a5349
commit
a7f343b793
16
varnish.spec
16
varnish.spec
@ -12,7 +12,7 @@
|
|||||||
Summary: High-performance HTTP accelerator
|
Summary: High-performance HTTP accelerator
|
||||||
Name: varnish
|
Name: varnish
|
||||||
Version: 4.1.1
|
Version: 4.1.1
|
||||||
Release: 2%{?v_rc}%{?dist}
|
Release: 3%{?v_rc}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
URL: http://www.varnish-cache.org/
|
URL: http://www.varnish-cache.org/
|
||||||
@ -139,7 +139,7 @@ Minimal selinux policy for running varnish4
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n varnish-%{version}%{?vd_rc}
|
%setup -q -n varnish-%{version}%{?vd_rc}
|
||||||
tar xvzf %SOURCE1
|
tar xzf %SOURCE1
|
||||||
ln -s pkg-varnish-cache-%{commit1}/redhat redhat
|
ln -s pkg-varnish-cache-%{commit1}/redhat redhat
|
||||||
ln -s pkg-varnish-cache-%{commit1}/debian debian
|
ln -s pkg-varnish-cache-%{commit1}/debian debian
|
||||||
%patch1 -p0
|
%patch1 -p0
|
||||||
@ -161,6 +161,12 @@ export CFLAGS="%{optflags} -fPIC"
|
|||||||
export LDFLAGS=" -pie"
|
export LDFLAGS=" -pie"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} == 24
|
||||||
|
%ifarch i386 i686
|
||||||
|
export CFLAGS="%{optflags} -ffloat-store -fexcess-precision=standard"
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
# Remove "--disable static" if you want to build static libraries
|
# Remove "--disable static" if you want to build static libraries
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 12
|
%if 0%{?rhel} <= 5 && 0%{?fedora} <= 12
|
||||||
@ -401,6 +407,12 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 04 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.1-3
|
||||||
|
- Added "-ffloat-store -fexcess-precision=standard" to CFLAGS on i386
|
||||||
|
to work around a bug in gcc6, see
|
||||||
|
https://github.com/dhobsd/Varnish-Cache/commit/9f1035d
|
||||||
|
- Quieted unpacking of distro package source
|
||||||
|
|
||||||
* Wed Feb 03 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.1-2
|
* Wed Feb 03 2016 Ingvar Hagelund <ingvar@redpill-linpro.com> 4.1.1-2
|
||||||
- Added patch from upstream, daemonizing varnishd in systemd, as
|
- Added patch from upstream, daemonizing varnishd in systemd, as
|
||||||
it handles SIGHUP otherwice when running foregrounded under systemd
|
it handles SIGHUP otherwice when running foregrounded under systemd
|
||||||
|
Loading…
Reference in New Issue
Block a user