On 08/15/2018 08:11 AM, Igor Gnatenko wrote:
It's in redhat-rpm-config-118-1.fc30.
If it causes any problems for you - let me know. In the meantime, you can use `%undefine _ld_as_needed` to disable it.
I still don't see anything to resolve the libtool issue - namely that libtool reorders the linker flags in a manner that ends up disabling --as-needed. In other words, libtool-using projects (of which there must still be plenty) will not benefit from this at all.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650 for details, but in short Debian carries a libtool patch to overcome this and others (Gentoo, Mageia at least) have copied that.
- Panu -