summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-12-18 06:56:05 +0000
committerSam James <sam@gentoo.org>2023-12-18 06:56:05 +0000
commita8da48ae6ee2878605bd985a9be773a095c03203 (patch)
tree1eba10e061fc2aed952905d3c235ee1f378445a9
parentmedia-video/ffmpeg: Stabilize 6.0-r10 ppc64, #920240 (diff)
downloadgentoo-a8da48ae6ee2878605bd985a9be773a095c03203.tar.gz
gentoo-a8da48ae6ee2878605bd985a9be773a095c03203.tar.bz2
gentoo-a8da48ae6ee2878605bd985a9be773a095c03203.zip
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@gentoo.org>
-rw-r--r--dev-db/mysql-connector-c/mysql-connector-c-8.0.32-r1.ebuild2
1 files changed, 2 insertions, 0 deletions
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