memchecker depends on valgrind

Disable memchecker if valgrind is not available

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-07-25 11:43:11 +03:00
parent 5a1b8d12c7
commit 50335cfa8a
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 1 additions and 1 deletions

View File

@ -204,8 +204,8 @@ done
--with-sge \
%ifarch %{valgrind_arches}
--with-valgrind \
%endif
--enable-memchecker \
%endif
--with-hwloc=/usr \
%if !0%{?el7}
--with-libevent=external \