Hi, This is recommended by Darktable developpers: https://www.darktable.org/2018/12/darktable-260rc2-released/ (Packagers are advised to pass -DRAWSPEED_ENABLE_LTO=ON to CMake to enable partial LTO.) Regards
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0a1fedd1fc7d02a81179718903c097f7403887 commit 3d0a1fedd1fc7d02a81179718903c097f7403887 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-06-18 13:26:54 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-06-18 16:29:04 +0000 media-gfx/darktable: allow enabling LTO in RawSpeed via USE=lto Recommended by upstream but for now very much experimental on the Gentoo side and will almost certainly fall over for some compiler/linker combinations. Do let us know if that happens! Closes: https://bugs.gentoo.org/674762 Signed-off-by: Marek Szuba <marecki@gentoo.org> media-gfx/darktable/darktable-3.0.2-r1.ebuild | 147 ++++++++++++++++++++++++++ media-gfx/darktable/darktable-9999.ebuild | 3 +- media-gfx/darktable/metadata.xml | 1 + 3 files changed, 150 insertions(+), 1 deletion(-)