SHA256
1
0
forked from pool/expat

Accepting request 532435 from home:jayvdb:toggl

- Allow building when do_profiling is undefined

OBS-URL: https://build.opensuse.org/request/show/532435
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=61
This commit is contained in:
Tomáš Chvátal 2017-10-07 15:19:36 +00:00 committed by Git OBS Bridge
parent 73171aa2e8
commit 061786605d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Oct 7 14:32:27 UTC 2017 - jayvdb@gmail.com
- Allow building when do_profiling is undefined
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 11 15:02:55 UTC 2017 - mpluskal@suse.com Tue Jul 11 15:02:55 UTC 2017 - mpluskal@suse.com

View File

@ -69,7 +69,7 @@ rm -f examples/*.dsp
%configure \ %configure \
--disable-silent-rules \ --disable-silent-rules \
--disable-static --disable-static
%if %{do_profiling} %if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check
make clean make clean