Accepting request 1002273 from home:bmwiedemann:branches:network
Build SLE version with g++-11 to work around nondeterministic g++-7 (boo#1193895) For the SLE-12 builds, you would need to `osc branch Archiving/lz4 network` and same for `zstd` and configure them to only build for SLE-12 in the project. And add a line to prjconf: `Prefer: gzip` OBS-URL: https://build.opensuse.org/request/show/1002273 OBS-URL: https://build.opensuse.org/package/show/network/rsync?expand=0&rev=97
This commit is contained in:
parent
671bd07393
commit
134e8e0bbd
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 9 08:32:28 UTC 2022 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Build SLE version with g++-11
|
||||||
|
to work around nondeterministic g++-7 (boo#1193895)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 1 13:11:01 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
Thu Sep 1 13:11:01 UTC 2022 - Stefan Schubert <schubi@suse.com>
|
||||||
|
|
||||||
|
14
rsync.spec
14
rsync.spec
@ -22,6 +22,12 @@
|
|||||||
%bcond_with xxhash
|
%bcond_with xxhash
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} < 1550
|
||||||
|
%bcond_without gcc11
|
||||||
|
%else
|
||||||
|
%bcond_with gcc11
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: rsync
|
Name: rsync
|
||||||
Version: 3.2.5
|
Version: 3.2.5
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -60,6 +66,9 @@ BuildRequires: zlib-devel
|
|||||||
%if %{with xxhash}
|
%if %{with xxhash}
|
||||||
BuildRequires: pkgconfig(libxxhash) >= 0.8.0
|
BuildRequires: pkgconfig(libxxhash) >= 0.8.0
|
||||||
%endif
|
%endif
|
||||||
|
%if %{with gcc11}
|
||||||
|
BuildRequires: gcc11-c++
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(openssl)
|
BuildRequires: pkgconfig(openssl)
|
||||||
Requires(post): grep
|
Requires(post): grep
|
||||||
Requires(post): sed
|
Requires(post): sed
|
||||||
@ -89,7 +98,12 @@ rm -f zlib/*.h
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
%if %{with gcc11}
|
||||||
|
export CC=gcc-11
|
||||||
|
export CXX=g++-11
|
||||||
|
%endif
|
||||||
export CFLAGS="%{optflags} -fPIC -DPIC -fPIE"
|
export CFLAGS="%{optflags} -fPIC -DPIC -fPIE"
|
||||||
|
export CXXFLAGS="$CFLAGS"
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now -fPIE -pie"
|
export LDFLAGS="-Wl,-z,relro,-z,now -fPIE -pie"
|
||||||
%configure \
|
%configure \
|
||||||
--with-included-popt=no \
|
--with-included-popt=no \
|
||||||
|
Loading…
Reference in New Issue
Block a user