Jan Beich writes:
> -fuse-ld=lld should work fine on 11.4 aarch64/amd64/armv6/armv7/i386 as
> it uses clang as /usr/bin/cc and has /usr/bin/ld.lld but may[1] break
> 11.4 powerpc/powerpc64 which still has gcc as /usr/bin/cc. I've used
> -fuse-ld=lld in a number of ports to unbreak -flto[2] or
Alexis Praga writes:
> Hi guys,
>
> Thanks to Li-Wen Hsu [1], I now know the new version does not build on 11.4
> with :
> /usr/bin/ld: unrecognized option '-plugin'
> Which seems due to the '-flto' flag according to this issue :
>
Hi guys,
Thanks to Li-Wen Hsu [1], I now know the new version does not build on 11.4
with :
/usr/bin/ld: unrecognized option '-plugin'
Which seems due to the '-flto' flag according to this issue :
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230137
I've tried the fix mentioned