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:
parent
538836357a
commit
4d5fced114
@ -94,8 +94,10 @@ This package holds the development files for varnish.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
perl -i -lpe 's{-Werror\b}{}' configure.ac
|
||||||
|
autoreconf -fi
|
||||||
%define _lto_cflags %nil
|
%define _lto_cflags %nil
|
||||||
export CFLAGS="%optflags -fcommon -fstack-protector -Wno-error=clobbered -Werror=maybe-uninitialized"
|
export CFLAGS="%optflags -fcommon -fstack-protector"
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
|
export CFLAGS="$CFLAGS -ffloat-store -fexcess-precision=standard"
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user