From: Scott Weaver <scwea...@redhat.com>

kernel.spec: disable ipaclones package

Now that Rust is supported, gcc's -fdump-ipa-clones cannot be used as it
will also be passed to bindgen (i.e., libclang) which does not support
this flag. Temporarily let's disabled the kernel-ipaclones-internal
package.

Signed-off-by: Scott Weaver <scwea...@redhat.com>

diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -286,7 +286,7 @@ Summary: The Linux kernel
 
 #
 # ipa_clone support
-%define with_ipaclones %{?_without_ipaclones: 0} %{?!_without_ipaclones: 1}
+%define with_ipaclones %{?_with_ipaclones: 1} %{?!_with_ipaclones: 0}
 
 # Want to build a vanilla kernel build without any non-upstream patches?
 %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0}

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3822

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to