SHA256
1
0
forked from pool/benchmark

- Disable lto as it does not seem to go well with -fPIE

OBS-URL: https://build.opensuse.org/package/show/devel:tools/benchmark?expand=0&rev=3
This commit is contained in:
Martin Pluskal 2016-07-04 09:25:28 +00:00 committed by Git OBS Bridge
parent 8b2a07b106
commit 9d73ffffa2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 4 09:24:59 UTC 2016 - mpluskal@suse.com
- Disable lto as it does not seem to go well with -fPIE
------------------------------------------------------------------- -------------------------------------------------------------------
Sat May 14 17:15:41 UTC 2016 - mpluskal@suse.com Sat May 14 17:15:41 UTC 2016 - mpluskal@suse.com

View File

@ -27,8 +27,8 @@ Group: Development/Libraries/C and C++
Url: https://github.com/google/benchmark Url: https://github.com/google/benchmark
Source: https://github.com/google/benchmark/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source: https://github.com/google/benchmark/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake BuildRequires: cmake
BuildRequires: git-core
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: git-core
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -57,7 +57,7 @@ Development files for google benchmark library
sed -i "s|LIBRARY DESTINATION lib|LIBRARY DESTINATION lib64|g" src/CMakeLists.txt sed -i "s|LIBRARY DESTINATION lib|LIBRARY DESTINATION lib64|g" src/CMakeLists.txt
%endif %endif
%cmake \ %cmake \
-DBENCHMARK_ENABLE_LTO=true \ -DBENCHMARK_ENABLE_LTO=off \
-DBENCHMARK_ENABLE_TESTING=true \ -DBENCHMARK_ENABLE_TESTING=true \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_BUILD_TYPE=RelWithDebInfo
make %{?_smp_mflags} make %{?_smp_mflags}