From 2cac3066865ec30014b213e44204d3fe8b7170849b441592a93669369b0de118 Mon Sep 17 00:00:00 2001 From: Duarte Pousa Date: Mon, 19 Oct 2020 20:49:05 +0000 Subject: [PATCH] Fix build for leap 15.2 OBS-URL: https://build.opensuse.org/package/show/Emulators/rpcs3?expand=0&rev=26 --- rpcs3.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpcs3.spec b/rpcs3.spec index 1a5954c..1f5d63c 100644 --- a/rpcs3.spec +++ b/rpcs3.spec @@ -25,7 +25,12 @@ Url: https://rpcs3.net/ Source0: %{name}-%{version}.tar.xz ExclusiveArch: x86_64 +%if 0%{?sle_version} == 150200 && 0%{?is_opensuse} +BuildRequires: gcc9-c++ +%else BuildRequires: gcc-c++ +%endif + BuildRequires: cmake BuildRequires: pkgconfig(libpng)