commit: a8da48ae6ee2878605bd985a9be773a095c03203 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Dec 18 06:56:05 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Dec 18 06:56:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8da48ae
dev-db/mysql-connector-c: fix automagic LLD usage The build system automagically uses LLD (via -fuse-ld=lld) when gcc + no LTO. Fix that. Closes: https://bugs.gentoo.org/710272 Closes: https://bugs.gentoo.org/775845 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild b/dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild index 0c403ce0c233..7e872e2d3d73 100644 --- a/dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild +++ b/dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild @@ -95,6 +95,8 @@ multilib_src_configure() { -DWITH_DEFAULT_COMPILER_OPTIONS=OFF -DENABLED_LOCAL_INFILE=ON -DMYSQL_UNIX_ADDR="${EPREFIX}/run/mysqld/mysqld.sock" + # Automagically uses LLD with not using LTO (bug #710272, #775845) + -DUSE_LD_LLD=OFF -DWITH_LZ4=system -DWITH_NUMA=OFF -DWITH_SSL=system
