Clang does not support -flto-partition Compiler for C supports arguments -flto-partition=none: NO ../NetworkManager-1.32.10/meson.build:174:2: ERROR: Assert failed: -flto-partition=none not supported. Disable link-time optimization with -Db_lto=false. Please add a tc-is-gcc check or some other. Thanks
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be97ee5738137df06466efe7a3a4c02471853c40 commit be97ee5738137df06466efe7a3a4c02471853c40 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2021-09-24 06:47:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-20 01:53:29 +0000 net-misc/networkmanager: Version bump to 1.32.12 - Add USE=gtk-doc (enabled by default) and require it if USE=introspection, since building docs requires introspection support. This should also allow us to fix the build issue when building without introspection by turning off doc generation as well. - Do not allow building with clang if USE=lto since clang does not support -flto-partition - Couple of minor syntax changes (adding a missing `|| die`, changing `rm -rf` to `rm -r`, sort inherits alphabetically etc.) Closes: https://bugs.gentoo.org/811564 Closes: https://bugs.gentoo.org/809695 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/22386 Signed-off-by: Sam James <sam@gentoo.org> net-misc/networkmanager/Manifest | 1 + .../networkmanager/networkmanager-1.32.12.ebuild | 392 +++++++++++++++++++++ 2 files changed, 393 insertions(+)