summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Barinov <v.barinov@samsung.com>2017-04-19 14:18:45 +0300
committerWonki Kim <wonki_.kim@samsung.com>2018-02-07 17:28:16 +0900
commit44f726fac4aa48229983d3a1ebe968d910cada91 (patch)
tree0d786bd4571073cc8d24b551acb4c738cfedd425
parentd73ed70d87a64672bb000bc4f38c0910f76032bf (diff)
downloadautomake-44f726fac4aa48229983d3a1ebe968d910cada91.tar.gz
automake-44f726fac4aa48229983d3a1ebe968d910cada91.tar.bz2
automake-44f726fac4aa48229983d3a1ebe968d910cada91.zip
Switch ASan build to single thread
Multithreaded build fails since amhello.tar.gz is not created in time. Change-Id: I5120ab807502c824c7cf39a98e8ca6cd5f76348f Signed-off-by: Slava Barinov <v.barinov@samsung.com>
-rw-r--r--packaging/automake.spec4
1 files changed, 1 insertions, 3 deletions
diff --git a/packaging/automake.spec b/packaging/automake.spec
index f6c860e8d..04d3e84e9 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
-