Accepting request 723087 from devel:libraries:c_c++
- Enable profile guided optimization OBS-URL: https://build.opensuse.org/request/show/723087 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmd?expand=0&rev=5
This commit is contained in:
commit
65b8b66cf6
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 13 13:54:43 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Enable profile guided optimization
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 14 14:53:10 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
Fri Dec 14 14:53:10 UTC 2018 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
14
libmd.spec
14
libmd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libmd
|
# spec file for package libmd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -64,7 +64,15 @@ Digests supported: MD2/4/5, RIPEMD160, SHA1, SHA2-256/384/512.
|
|||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-silent-rules
|
--disable-silent-rules
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
%if %{do_profiling}
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||||
|
make check %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||||
|
make %{?_smp_mflags} clean
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
|
||||||
|
%else
|
||||||
|
make %{?_smp_mflags} %{addopts}
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -86,6 +94,6 @@ make %{?_smp_mflags} check
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/pkgconfig/libmd.pc
|
%{_libdir}/pkgconfig/libmd.pc
|
||||||
%{_mandir}/man3/*.3%{ext_man}
|
%{_mandir}/man3/*.3%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user