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