Fix build on rawhide

This commit is contained in:
Jan Grulich 2021-07-21 16:28:48 +02:00
parent 456018f644
commit 4f316ff5ef

View File

@ -180,6 +180,12 @@ export CFLAGS="$RPM_OPT_FLAGS -fpic"
%endif
export CXXFLAGS="$CFLAGS -std=c++11"
%if 0%{?fedora} >= 35
%define __cmake_builddir %{_target_platform}
mkdir -p %{%__cmake_builddir}
%endif
%cmake
%cmake_build