Switch ASan build to single thread 31/169531/1
authorSlava Barinov <v.barinov@samsung.com>
Wed, 19 Apr 2017 11:18:45 +0000 (14:18 +0300)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 7 Feb 2018 08:28:16 +0000 (17:28 +0900)
Multithreaded build fails since amhello.tar.gz is not created in time.

Change-Id: I5120ab807502c824c7cf39a98e8ca6cd5f76348f
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/automake.spec

index f6c860e..04d3e84 100644 (file)
@@ -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
-