summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2020-10-12 16:12:57 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2020-10-12 16:12:57 -0500
commit5ea247821374db92efafca832b85f9d9d750f1dd (patch)
tree261ea8951b5fa4388c5faa2aa82c2f73ed2b0594
parentaa6d9438d030fa4682d5d450481085c901503da5 (diff)
downloadkernel-5ea247821374db92efafca832b85f9d9d750f1dd.zip
kernel-5ea247821374db92efafca832b85f9d9d750f1dd.tar.gz
kernel-5ea247821374db92efafca832b85f9d9d750f1dd.tar.xz
Attempt to build tools for eln
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
-rw-r--r--kernel.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec
index 116786d..6e2d641 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -30,7 +30,7 @@ Summary: The Linux kernel
# For a stable, released kernel, released_kernel should be 1.
%global released_kernel 0
-%global distro_build 36
+%global distro_build 37
%if 0%{?fedora}
%define secure_boot_arch x86_64
@@ -182,10 +182,10 @@ Summary: The Linux kernel
# no whitelist
%define with_kernel_abi_whitelists 0
# Fedora builds these separately
-%endif
%define with_perf 0
%define with_tools 0
%define with_bpftool 0
+%endif
%if %{with_verbose}
%define make_opts V=1
@@ -1923,6 +1923,7 @@ BuildKernel %make_target %kernel_image %{_use_vdso}
%global perf_make \
%{__make} -s EXTRA_CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS="%{__global_ldflags}" %{?cross_opts} -C tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0 NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1 prefix=%{_prefix} PYTHON=%{__python3}
%if %{with_perf}
+%global _lto_cflags %{nil}
# perf
# make sure check-headers.sh is executable
chmod +x tools/perf/check-headers.sh