The package rpms/varnish.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/varnish.git/commit/?id=618dace694....
Change:
+%ifarch s390x
Thanks.
Full change:
============
commit 618dace6947885339ac55c76246705289b78e7ea
Author: Ingvar Hagelund <ingvar(a)redpill-linpro.com>
Date: Tue Aug 4 12:48:36 2020 +0200
Added -Wno-error=free-nonheap-object to CFLAS to build on s390x
diff --git a/varnish.spec b/varnish.spec
index a6a2177..c7c6540 100644
--- a/varnish.spec
+++ b/varnish.spec
@@ -24,7 +24,7 @@
Summary: High-performance HTTP accelerator
Name: varnish
Version: 6.4.0
-Release: 3%{?dist}
+Release: 4%{?dist}
License: BSD
URL:
https://www.varnish-cache.org/
Source0:
http://varnish-cache.org/_downloads/%{name}-%{version}%{?vd_rc}.tgz
@@ -207,6 +207,10 @@ export CFLAGS="%{optflags} -fno-exceptions -fPIC
-ffloat-store"
%endif
%endif
+%ifarch s390x
+export CFLAGS="%{optflags} -Wno-error=free-nonheap-object"
+%endif
+
# What gcc version is this?
gcc --version
@@ -429,6 +433,9 @@ fi
%changelog
+* Tue Aug 04 2020 Ingvar Hagelund <ingvar(a)redpill-linpro.com> 6.4.0-4
+- Added -Wno-error=free-nonheap-object to CFLAS to build on s390x
+
* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 6.4.0-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild