Fridrich Strba 2024-03-18 14:18:12 +00:00 committed by Git OBS Bridge
parent b754c4f0ef
commit d0bd313450

View File

@ -30,14 +30,9 @@ Source0: https://github.com/abseil/%{name}/archive/refs/tags/%{version}.t
Source1: baselibs.conf
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc%{?with_gcc}
BuildRequires: gcc%{?with_gcc}-c++
BuildRequires: pkgconfig
%if 0%{?with_gcc:1}
BuildRequires: gcc%{with_gcc}
BuildRequires: gcc%{with_gcc}-c++
%else
BuildRequires: gcc
BuildRequires: gcc-c++
%endif
# PATCH-FIX-OPENSUSE options-{old,cxx17}.patch Ensure ABI stability regardless of compiler options
%if 0%{?suse_version} && 0%{?suse_version} < 1550
Patch0: options-old.patch
@ -74,7 +69,7 @@ This package contains headers and build system files for it.
%autosetup -p1
%build
%if 0%{?with_gcc:1}
%if 0%{?with_gcc}
export CC="gcc-%{with_gcc}"
export CXX="g++-%{with_gcc}"
%endif