Fix bad parse error

i9-ispras-fuzzing-kmsan
ebasov 2 weeks ago
parent 4f58ca6b69
commit 21fa078b54
Signed by: ebasov
GPG Key ID: 23356EDA24E5499D

@ -6,19 +6,15 @@
%ifarch x86_64 %ifarch x86_64
%define with_toolchain_clang 1 %define with_toolchain_clang 1
%define with_clang_lto 1 %define with_clang_lto 1
%else
%define with_toolchain_clang 0
%define with_clang_lto 0
%endif %endif
%if %{with_toolchain_clang} %if %{with_toolchain_clang}
%global toolchain clang %global toolchain clang
%endif %endif
# Compile the kernel with LTO (only supported when building with clang).
%bcond_with clang_lto
%if %{with_clang_lto} && %{without_toolchain_clang}
{error:clang_lto requires --with toolchain_clang}
%endif
# The libexec directory is not used by the linker, so the shared object there # The libexec directory is not used by the linker, so the shared object there
# should not be exported to RPM provides. # should not be exported to RPM provides.
%global __provides_exclude_from ^%{_libexecdir}/kselftests %global __provides_exclude_from ^%{_libexecdir}/kselftests
@ -214,11 +210,11 @@ BuildRequires: gzip, hmaccalc, hostname, kernel-rpm-macros >= 185-9, kmod, m4, m
BuildRequires: patch, perl-Carp, perl-devel, perl-generators, perl-interpreter, python3-devel BuildRequires: patch, perl-Carp, perl-devel, perl-generators, perl-interpreter, python3-devel
BuildRequires: redhat-rpm-config, tar, which, xz BuildRequires: redhat-rpm-config, tar, which, xz
%if %{with toolchain_clang} %if %{with_toolchain_clang}
BuildRequires: clang BuildRequires: clang
%endif %endif
%if %{with clang_lto} %if %{with_clang_lto}
BuildRequires: llvm BuildRequires: llvm
BuildRequires: lld BuildRequires: lld
%endif %endif

Loading…
Cancel
Save