Support build with clang
(cherry picked from commit 7636221ecefff609e1ce3ff828343bdf77f205a6)
This commit is contained in:
parent
0e6ba683d1
commit
cc9d6c0ac0
@ -68,6 +68,10 @@ meant to only be used for legacy compatibility users with existing grubby users.
|
|||||||
%autosetup -n %{name}-%{version}-1 -p1
|
%autosetup -n %{name}-%{version}-1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if "%toolchain" == "clang"
|
||||||
|
CFLAGS="$CFLAGS -Wno-error=logical-not-parentheses"
|
||||||
|
%endif
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user