diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-10-12 16:12:57 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2020-10-12 16:12:57 -0500 |
commit | 5ea247821374db92efafca832b85f9d9d750f1dd (patch) | |
tree | 261ea8951b5fa4388c5faa2aa82c2f73ed2b0594 | |
parent | aa6d9438d030fa4682d5d450481085c901503da5 (diff) | |
download | kernel-5ea247821374db92efafca832b85f9d9d750f1dd.tar.gz kernel-5ea247821374db92efafca832b85f9d9d750f1dd.tar.xz kernel-5ea247821374db92efafca832b85f9d9d750f1dd.zip |
Attempt to build tools for eln
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
-rw-r--r-- | kernel.spec | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel.spec b/kernel.spec index 116786d9b..6e2d64114 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 |