Dominique Leuenberger 2022-03-08 19:31:38 +00:00 committed by Git OBS Bridge
parent 3015c61bd8
commit c34b7faf21
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 4 09:42:26 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>
- Fix build on SLE-12-SP5
-------------------------------------------------------------------
Tue Jan 4 18:55:41 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -27,6 +27,9 @@ BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: pkgconfig
%if 0%{suse_version} < 1500
BuildRequires: gcc11-c++
%endif
%description
Abseil is a collection of C++11 libraries which augment the C++
@ -51,6 +54,9 @@ cat >"%{_builddir}/abslx.sym" <<-EOF
ABSL_%{version} { global: *; };
EOF
%define build_ldflags -Wl,--version-script=%{_builddir}/abslx.sym
%if 0%{suse_version} < 1500
export CXX=g++-11
%endif
%cmake
%cmake_build