SHA256
1
0
forked from pool/varnish
Jan Engelhardt 2022-05-16 20:23:07 +00:00 committed by Git OBS Bridge
parent 4d5fced114
commit fac46bdf5b

View File

@ -94,17 +94,14 @@ This package holds the development files for varnish.
%autosetup -p1
%build
perl -i -lpe 's{-Werror\b}{}' configure.ac
autoreconf -fi
%define _lto_cflags %nil
export CFLAGS="%optflags -fcommon -fstack-protector"
%ifarch %ix86
export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
%endif
%configure --disable-static --docdir="%_docdir/%name" \
--localstatedir="%_localstatedir/cache/" \
--enable-developer-warnings
%make_build
--localstatedir="%_localstatedir/cache/"
%make_build V=1
%install
b="%buildroot"