diff --git a/grubby.spec b/grubby.spec index 3a697ed..5b8922a 100644 --- a/grubby.spec +++ b/grubby.spec @@ -68,6 +68,10 @@ meant to only be used for legacy compatibility users with existing grubby users. %autosetup -n %{name}-%{version}-1 -p1 %build +%if "%toolchain" == "clang" + CFLAGS="$CFLAGS -Wno-error=logical-not-parentheses" +%endif + %make_build %check