Use %%valgrind_arches to enable memcheck
This commit is contained in:
parent
bd0edaf411
commit
c5aed7e7a9
@ -20,11 +20,13 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Run memcheck?
|
# Run memcheck?
|
||||||
|
%ifarch %{valgrind_arches}
|
||||||
# Valgrind does not work well on %%{power64} arches.
|
# Valgrind does not work well on %%{power64} arches.
|
||||||
%ifnarch %{power64}
|
%ifarch %{power64}
|
||||||
%bcond_without memcheck
|
|
||||||
%else
|
|
||||||
%bcond_with memcheck
|
%bcond_with memcheck
|
||||||
|
%else
|
||||||
|
%bcond_without memcheck
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user