From 04efcb215377f9e715a59c449499f67cebfc9f19907f0ca94f98337d64b8bf11 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 25 Jun 2018 12:02:02 +0000 Subject: [PATCH] - Enable lto - Update dependencies OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=20 --- benchmark.changes | 6 ++++++ benchmark.spec | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/benchmark.changes b/benchmark.changes index 7c42fa6..046323a 100644 --- a/benchmark.changes +++ b/benchmark.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 25 11:56:55 UTC 2018 - mpluskal@suse.com + +- Enable lto +- Update dependencies + ------------------------------------------------------------------- Mon May 28 21:43:24 UTC 2018 - avindra@opensuse.org diff --git a/benchmark.spec b/benchmark.spec index 248067a..4c55a04 100644 --- a/benchmark.spec +++ b/benchmark.spec @@ -31,6 +31,7 @@ BuildRequires: gcc-c++ BuildRequires: git-core BuildRequires: gmock BuildRequires: gtest +BuildRequires: pkgconfig %description A library to support the benchmarking of functions, similar to unit-tests. @@ -58,14 +59,14 @@ Development files for google benchmark library sed -i 's|lib_install_dir "lib/"|lib_install_dir "lib64/"|g' src/CMakeLists.txt %endif %cmake \ - -DBENCHMARK_ENABLE_LTO=off \ + -DBENCHMARK_ENABLE_LTO=on \ -DBENCHMARK_ENABLE_TESTING=true %make_jobs %install %cmake_install # dont ship debug stuff -rm -rf %{_libexecdir}/debug +rm -rf %{buildroot}%{_libexecdir}/debug %check # path needs to be exported otherwise unit tests will fail