From 8d4b59473ee2ba4e3688f66d51b478ee0078faf8613ed67e5d213c6c3df8e5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 17 May 2017 09:32:38 +0000 Subject: [PATCH] - Build in single thread, interim deps are not properly stated in the Makefile OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/foma?expand=0&rev=5 --- foma.changes | 6 ++++++ foma.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/foma.changes b/foma.changes index 4d7aa76..d089033 100644 --- a/foma.changes +++ b/foma.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 17 09:33:31 UTC 2017 - tchvatal@suse.com + +- Build in single thread, interim deps are not properly stated in + the Makefile + ------------------------------------------------------------------- Wed May 17 09:13:27 UTC 2017 - tchvatal@suse.com diff --git a/foma.spec b/foma.spec index b807154..7c1ddf8 100644 --- a/foma.spec +++ b/foma.spec @@ -63,7 +63,8 @@ Finite-state C library development files and headers for %{name}. %setup -q -n %{name}-%{version}/%{name} %build -make %{?_smp_mflags} \ +# hand written Makefile that gets to be quite PITA +make -j1 \ CFLAGS="%{optflags} -D_GNU_SOURCE -std=c99 -fPIC" \ LDFLAGS="-lreadline -lz"