From 4d5fced11488644a2ed4b7d865fb56dafdd4e94ba77626e6b888267083ea1942 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 16 May 2022 20:19:45 +0000 Subject: [PATCH] disable this stupid -Werror crap OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=110 --- varnish.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/varnish.spec b/varnish.spec index bb05701..6ba36a2 100644 --- a/varnish.spec +++ b/varnish.spec @@ -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