This commit is contained in:
parent
4c4eeb047e
commit
49ae4de1db
@ -29,8 +29,8 @@ BuildRequires: appstream-glib
|
||||
BuildRequires: cmake
|
||||
BuildRequires: desktop-file-utils
|
||||
%if 0%{?sle_version} == 150400
|
||||
BuildRequires: gcc11
|
||||
BuildRequires: gcc11-c++
|
||||
BuildRequires: gcc10
|
||||
BuildRequires: gcc10-c++
|
||||
%else
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
@ -122,8 +122,8 @@ Features:
|
||||
|
||||
%build
|
||||
%if 0%{?sle_version} == 150400
|
||||
export CC="gcc-11"
|
||||
export CXX="g++-11"
|
||||
export CC="gcc-10"
|
||||
export CXX="g++-10"
|
||||
%endif
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
|
Loading…
Reference in New Issue
Block a user