Is disabling debug on i686 an option?

--- a/vulkan-validation-layers.spec
+++ b/vulkan-validation-layers.spec
@@ -43,7 +43,12 @@ developing applications that use %{name}.
 
 %build
 # Decrease debuginfo verbosity to reduce memory consumption even more
+%ifarch %{ix86}
+%global debug_package %{nil}
+%global optflags %(echo %{optflags} | sed 's/-g /-g0 /')
+%else
 %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
+%endif
 %global optflags %(echo %{optflags} | sed 's/-O2 /-O1 /')
 
 %cmake3 -DCMAKE_BUILD_TYPE=Release \
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to