SHA256
1
0
forked from pool/expat

Accepting request 509510 from home:pluskalm:branches:devel:libraries:c_c++

- Build with profiling when possible

OBS-URL: https://build.opensuse.org/request/show/509510
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=59
This commit is contained in:
Tomáš Chvátal 2017-07-11 20:45:24 +00:00 committed by Git OBS Bridge
parent 87920586bc
commit 73171aa2e8
2 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jul 11 15:02:55 UTC 2017 - mpluskal@suse.com
- Build with profiling when possible
-------------------------------------------------------------------
Tue Jul 4 14:33:00 UTC 2017 - meissner@suse.com

View File

@ -67,9 +67,16 @@ rm -f examples/*.dsp
%build
%configure \
--disable-silent-rules \
--disable-static
make %{?_smp_mflags}
--disable-silent-rules \
--disable-static
%if %{do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check
make clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else
make %{?_smp_mflags} CFLAGS="%{optflags}"
%endif
%install
%make_install