This commit is contained in:
parent
7b5fb1cb94
commit
a782da6410
@ -28,9 +28,9 @@ Source: https://files.strawberrymusicplayer.org/%{name}-%{version}.tar.x
|
||||
BuildRequires: appstream-glib
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
%if 0%{?sle_version} == 150400 || 0%{?sle_version} == 150500
|
||||
BuildRequires: gcc11
|
||||
BuildRequires: gcc11-c++
|
||||
%if 0%{?sle_version} == 150500 || 0%{?sle_version} == 150600
|
||||
BuildRequires: gcc13
|
||||
BuildRequires: gcc13-c++
|
||||
%else
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
@ -110,9 +110,9 @@ Features:
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%if 0%{?sle_version} == 150400 || 0%{?sle_version} == 150500
|
||||
export CC="gcc-11"
|
||||
export CXX="g++-11"
|
||||
%if 0%{?sle_version} == 150500 || 0%{?sle_version} == 150600
|
||||
export CC="gcc-13"
|
||||
export CXX="g++-13"
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
|
Loading…
Reference in New Issue
Block a user