Require devtoolset-8-toolchain on EPEL 7 for C++17 support

epel9
Robert Scheck 4 years ago
parent 3e92e89108
commit 45b15e644e

@ -27,6 +27,10 @@ BuildRequires: pulseaudio-libs-devel
#BuildRequires: SDL-devel #BuildRequires: SDL-devel
#BuildRequires: SDL2-devel #BuildRequires: SDL2-devel
%if 0%{?rhel} && 0%{?rhel} < 8
BuildRequires: devtoolset-8-toolchain
%endif
%description %description
libopenmpt is a cross-platform C++ and C library to decode tracked music libopenmpt is a cross-platform C++ and C library to decode tracked music
files (modules) into a raw PCM audio stream. files (modules) into a raw PCM audio stream.
@ -61,6 +65,10 @@ sed -i 's/\r$//' LICENSE
%build %build
%if 0%{?rhel} && 0%{?rhel} < 8
. /opt/rh/devtoolset-8/enable
%endif
%configure \ %configure \
--disable-static \ --disable-static \
--without-sdl --without-sdl2 \ --without-sdl --without-sdl2 \

Loading…
Cancel
Save