- Enable profile guided optimization
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libmd?expand=0&rev=10
This commit is contained in:
parent
9d9ccfb066
commit
b65758b518
@ -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>
|
||||
|
||||
|
14
libmd.spec
14
libmd.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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 \
|
||||
--disable-static \
|
||||
--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
|
||||
%make_install
|
||||
@ -86,6 +94,6 @@ make %{?_smp_mflags} check
|
||||
%{_includedir}/*
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/libmd.pc
|
||||
%{_mandir}/man3/*.3%{ext_man}
|
||||
%{_mandir}/man3/*.3%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user