From 429404ff825a633b166a2f58e0d73a1a1e242eec Mon Sep 17 00:00:00 2001 From: Slava Barinov Date: Wed, 19 Apr 2017 14:18:45 +0300 Subject: [PATCH] Switch ASan build to single thread Multithreaded build fails since amhello.tar.gz is not created in time. Change-Id: I90b713f0974f9fd7c4ae782b6ef5fa4ebe1d9ce9 Signed-off-by: Slava Barinov --- packaging/automake.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packaging/automake.spec b/packaging/automake.spec index f6c860e..04d3e84 100644 --- a/packaging/automake.spec +++ b/packaging/automake.spec @@ -30,8 +30,7 @@ cp %{SOURCE1001} . %build sh bootstrap.sh %configure --docdir=%{_docdir}/%{name} -make %{?_smp_mflags} - +make %{!?asan:%{?_smp_mflags}} %install make install DESTDIR=%{buildroot} @@ -61,4 +60,3 @@ rm -rf %{buildroot}%{_infodir}/dir %{_datadir}/aclocal* %{_datadir}/automake-* %config /etc/aclocal_dirlist - -- 2.7.4