Use the %{valgrind_arches} macro instead of hardcoding unsupported arches
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7GJQDPCQ743DKJ3LAJFDDX3ZD6LOPB5N/
This commit is contained in:
parent
37437e1d44
commit
a64e7f7e98
@ -71,10 +71,9 @@ License: Python
|
||||
%bcond_without computed_gotos
|
||||
|
||||
# Support for the Valgrind debugger/profiler
|
||||
%ifnarch s390 %{mips} riscv64
|
||||
%ifarch %{valgrind_arches}
|
||||
%bcond_without valgrind
|
||||
%else
|
||||
# Some arches don't have valgrind, disable support for it there.
|
||||
%bcond_with valgrind
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user