From 061786605d24dd8c188fc33c31111ff49344d27e59767bd36d3330229c96a3d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 7 Oct 2017 15:19:36 +0000 Subject: [PATCH] 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 --- expat.changes | 5 +++++ expat.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/expat.changes b/expat.changes index 6b91c4f..3ba4528 100644 --- a/expat.changes +++ b/expat.changes @@ -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 diff --git a/expat.spec b/expat.spec index df8165a..cf725e9 100644 --- a/expat.spec +++ b/expat.spec @@ -69,7 +69,7 @@ rm -f examples/*.dsp %configure \ --disable-silent-rules \ --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}" LDFLAGS="%{optflags} %{cflags_profile_generate}" check make clean