On Thu, May 20, 2021 at 6:45 PM Leigh Scott <leigh123li...@gmail.com> wrote:
>
> 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 /')
>

I ended up dropping to O1 as sufficient, I don't think it'll really
matter for this package to not be optimised.

But I could consider dropping to g0 on ix86 I suppose.

But it's mostly a debugging package so I think it might not be optimal
to have no symbols for it at all.

Dave.
_______________________________________________
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