Bug#985867: filter out GCC's lto flags for the skia build
severity 985867 wishlist
thanks
Hi,
Am 25.03.21 um 08:59 schrieb Matthias Klose:
> When building LO with lto turned on (https://wiki.debian.org/ToolChain/LTO),
> the build fails, because one module (skia) is still built with clang, apparently
> for performance reasons. I didn't check if that's still needed for recent
> compiler versions.
No idea either, I just use it to not derivate from upstream unneccessarily.
> So just don't use the lto flags when building the skia module. The build system
> already has a macro for that for cflags (gb_FilterOutClangCFLAGS), but is
> lacking one for ldflags, and these targets seem to be autogenerated. I didn't
> look into filtering this,
Yeah, I gave up somewhen, too
> and provided a wrapper for clang/clang++ instead.
OK.
Will add to git.
Regards,
Rene
Reply to: