diff --git a/fwupd.spec b/fwupd.spec index 1f7605b..4bdf92d 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -273,6 +273,11 @@ cd - -Dpassim=enabled \ %else -Dpassim=disabled \ +%endif +%ifarch %{valgrind_arches} + -Dvalgrind=enabled \ +%else + -Dvalgrind=disabled \ %endif -Dman=true \ -Dsystemd_unit_user="" \