From: Justin M. Forbes jforbes@fedoraproject.org
Turn on debug builds for aarch64 Fedora
Fedora only did debug builds for x86 in the past. This was largely due to slow build times on other arches in koji, coupled with much smaller userbases. Let's turn on aarch64 now as those builders are much faster and the userbase is considerably larger these days. Replacing i686 here makes sense as we no longer build for that arch.
Signed-off-by: Justin M. Forbes jforbes@fedoraproject.org
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100755 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -388,8 +388,8 @@ Summary: The Linux kernel %endif
%if 0%{?fedora} -# don't do debug builds on anything but i686 and x86_64 -%ifnarch i686 x86_64 +# don't do debug builds on anything but aarch64 and x86_64 +%ifnarch aarch64 x86_64 %define with_debug 0 %endif %endif
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2263