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