- 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:
parent
8b2a07b106
commit
9d73ffffa2
@ -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
|
||||
|
||||
|
@ -27,8 +27,8 @@ Group: Development/Libraries/C and C++
|
||||
Url: https://github.com/google/benchmark
|
||||
Source: https://github.com/google/benchmark/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: git-core
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: git-core
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -57,7 +57,7 @@ Development files for google benchmark library
|
||||
sed -i "s|LIBRARY DESTINATION lib|LIBRARY DESTINATION lib64|g" src/CMakeLists.txt
|
||||
%endif
|
||||
%cmake \
|
||||
-DBENCHMARK_ENABLE_LTO=true \
|
||||
-DBENCHMARK_ENABLE_LTO=off \
|
||||
-DBENCHMARK_ENABLE_TESTING=true \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
make %{?_smp_mflags}
|
||||
|
Loading…
x
Reference in New Issue
Block a user