Accepting request 697428 from home:marxin:branches:devel:libraries:c_c++

Disable LTO (boo#1133122).

OBS-URL: https://build.opensuse.org/request/show/697428
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cmocka?expand=0&rev=49
This commit is contained in:
Andreas Schneider 2019-04-24 11:38:12 +00:00 committed by Git OBS Bridge
parent b2ddf61c3f
commit 05d416992f
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 24 09:43:30 UTC 2019 - Martin Liška <mliska@suse.cz>
- Disable LTO (boo#1133122).
-------------------------------------------------------------------
Thu Mar 28 13:54:53 UTC 2019 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -106,6 +106,7 @@ Static cmocka unit testing library.
%autosetup -p1
%build
%define _lto_cflags %{nil}
%cmake \
-DCMAKE_SKIP_RPATH=OFF \
-DWITH_STATIC_LIB=ON \