Fridrich Strba 2023-08-08 00:09:18 +00:00 committed by Git OBS Bridge
parent 05ea4a38be
commit 0eefa9bf4a

View File

@ -320,11 +320,11 @@ BuildRequires: pkgconfig(libopenjp2)
%endif
# Dragonbox requires gcc11
%if 0%{?suse_version} > 1550
BuildRequires: gcc >= 7
BuildRequires: gcc-c++ >= 7
BuildRequires: gcc >= 11
BuildRequires: gcc-c++ >= 11
%else
BuildRequires: gcc7
BuildRequires: gcc7-c++
BuildRequires: gcc11
BuildRequires: gcc11-c++
%endif
%if 0%{?suse_version}
# needed by python3_sitelib
@ -1099,8 +1099,8 @@ CXXFLAGS="$ARCH_FLAGS"
export ARCH_FLAGS CFLAGS CXXFLAGS
%if 0%{?suse_version} < 1550
export CC=gcc-7
export CXX=g++-7
export CC=gcc-11
export CXX=g++-11
%endif
# Fake the epoch stuff in generated zip files