SHA256
1
0
forked from pool/benchmark
Stephan Kulow 2019-02-25 16:57:04 +00:00 committed by Git OBS Bridge
commit b9299e11f5
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 23 10:47:16 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Use arch-specific libdir in pkgconfig file
-------------------------------------------------------------------
Mon Feb 18 09:52:40 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -59,6 +59,9 @@ sed -e 's|lib_install_dir "lib/"|lib_install_dir "%{_libdir}/"|g' \
-e 's|config_install_dir "lib/cmake|config_install_dir "%{_libdir}/cmake|g' \
-e 's|pkgconfig_install_dir "lib/pkgconfig"|pkgconfig_install_dir "%{_libdir}/pkgconfig"|g' \
-i src/CMakeLists.txt
sed -e 's|libdir=${prefix}/lib|libdir=${prefix}/%{_lib}|' \
-i cmake/benchmark.pc.in
%cmake \
-DBENCHMARK_ENABLE_LTO=on \
-DBENCHMARK_ENABLE_TESTING=true