Update to last successful build
d9cc7bed9a1daae77f694539f80e6b1ecf658cac Merge pull request #336 from marxin/fix-static-library-lto-bytecode de80f7ac22a71316c12023183aad83eab1fadef8 Fix lto-bytecode errors: OBS-URL: https://build.opensuse.org/package/show/zypp:Head/libsolv?expand=0&rev=1038
This commit is contained in:
parent
cdc9c26732
commit
f5d1848059
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f8bdd6d9388132085c042510c5080fe292c7dde80b50ee77f6fd61532a7b12e3
|
||||
size 563587
|
||||
oid sha256:2fe5876c7fffbe02b9bb4ef2c975c8e96f2051b46bfbdb05d1430c3355a26fd0
|
||||
size 563051
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 10 07:48:10 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add -ffat-lto-objects to $optflags as the package provides
|
||||
static libraries
|
||||
- Remove NO_BRP_STRIP_DEBUG=true as brp-15-strip-debug will
|
||||
not strip debug info for archives
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 16:15:39 CEST 2019 - mls@suse.de
|
||||
|
||||
|
@ -207,6 +207,7 @@ Perl bindings for libsolv.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||
export CFLAGS="%{optflags}"
|
||||
export CXXFLAGS="$CFLAGS"
|
||||
|
||||
@ -257,10 +258,6 @@ ln -s repo2solv %{buildroot}/%{_bindir}/repo2solv.sh
|
||||
%py3_compile %{buildroot}/%{python3_sitearch}
|
||||
%endif
|
||||
%endif
|
||||
%if %{with static}
|
||||
# we want to leave the .a file untouched
|
||||
export NO_BRP_STRIP_DEBUG=true
|
||||
%endif
|
||||
|
||||
%check
|
||||
make ARGS=--output-on-failure test
|
||||
|
Loading…
Reference in New Issue
Block a user