I've searched online and found very few resources about enabling linktime optimization when building the FreeBSD kernel, world, or enabling globally for ports. And what is out there is mostly outdated. What would be the correct way to enable LTO? Is it still necessary to change the defaults for things like AR, NM, or RANLIB? Or should it simply work by adding -flto=thin to CFLAGS and COPTFLAGS? Has there been any testing on using LTO?