SHA256
1
0
forked from pool/varnish

disable this stupid -Werror crap

OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=110
This commit is contained in:
Jan Engelhardt 2022-05-16 20:19:45 +00:00 committed by Git OBS Bridge
parent 538836357a
commit 4d5fced114

View File

@ -94,8 +94,10 @@ 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 -Wno-error=clobbered -Werror=maybe-uninitialized"
export CFLAGS="%optflags -fcommon -fstack-protector"
%ifarch %ix86
export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
%endif