The patch has an meson test to verify the build compiler supports the attribute, and if it doesn't, it'll gracefully fall back to the ASM variant. While not strictly needed for Fedora, my hope is that the patch is more palatable to the upstream community given the graceful fallback to prior behavior when the attribute is not supported.
I have about 200 packages I'm working through, so I can't reasonably engage every upstream project. I'd like to merge this PR into Fedora so that LTO gets enabled for the fuse3 package and let the package maintainers enagage the appropriate upstream community so that we don't have to carry a Fedora specific patch forever.
The patch has an meson test to verify the build compiler supports the attribute, and if it doesn't, it'll gracefully fall back to the ASM variant. While not strictly needed for Fedora, my hope is that the patch is more palatable to the upstream community given the graceful fallback to prior behavior when the attribute is not supported.
I have about 200 packages I'm working through, so I can't reasonably engage every upstream project. I'd like to merge this PR into Fedora so that LTO gets enabled for the fuse3 package and let the package maintainers enagage the appropriate upstream community so that we don't have to carry a Fedora specific patch forever.