From 836f20c1936592f71cafe2dd70e42c89e1d71aec6d242d51561d9df81f3115df Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Thu, 19 Jan 2023 11:05:28 +0000 Subject: [PATCH] Accepting request 1059543 from home:Guillaume_G:branches:security - Add libstdc++6-devel-gcc11 to fix build with GCC11 on Backports SLE15-SP4/5 OBS-URL: https://build.opensuse.org/request/show/1059543 OBS-URL: https://build.opensuse.org/package/show/security/parsec?expand=0&rev=37 --- parsec.changes | 6 ++++++ parsec.spec | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/parsec.changes b/parsec.changes index c569a74..59c0349 100644 --- a/parsec.changes +++ b/parsec.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 19 11:03:49 UTC 2023 - Guillaume GARDET + +- Add libstdc++6-devel-gcc11 to fix build with GCC11 on + Backports SLE15-SP4/5 + ------------------------------------------------------------------- Tue Oct 4 13:03:09 UTC 2022 - Guillaume GARDET diff --git a/parsec.spec b/parsec.spec index 118bdf3..97cddbc 100644 --- a/parsec.spec +++ b/parsec.spec @@ -38,6 +38,10 @@ BuildRequires: cargo BuildRequires: clang-devel BuildRequires: cmake BuildRequires: llvm-devel +%if 0%{?sle_version} >= 150400 +# Fix build with GCC11 on Backports SLE15-SP4/5 - Avoid to get -lstdc++ not found +BuildRequires: libstdc++6-devel-gcc11 +%endif BuildRequires: pkgconfig BuildRequires: protobuf-devel BuildRequires: python3