Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
6e72b3ab1a | |||
120f05d14d |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 19 11:15:01 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- Build with C++17 for googletest 1.17 boo#1244989
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 25 05:43:50 UTC 2024 - David Disseldorp <ddiss@suse.de>
|
Mon Mar 25 05:43:50 UTC 2024 - David Disseldorp <ddiss@suse.de>
|
||||||
|
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
# spec file for package leveldb
|
# spec file for package leveldb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -80,11 +81,11 @@ This package holds the development files for statically linking leveldb.
|
|||||||
%build
|
%build
|
||||||
# unfortunately a two-pass build is needed for shared and static libs
|
# unfortunately a two-pass build is needed for shared and static libs
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
%cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_STANDARD=14
|
%cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_CXX_STANDARD=17
|
||||||
%cmake_build
|
%cmake_build
|
||||||
cd ..
|
cd ..
|
||||||
%define __builddir build_static
|
%define __builddir build_static
|
||||||
%cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_STANDARD=14
|
%cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_STANDARD=17
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Reference in New Issue
Block a user