From 91946ca7a026ddd54f23d14f9954219e4898c386 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Thu, 1 Mar 2018 21:09:47 -0500 Subject: dev-db/mariadb-connector-c: Ban gold linker, it fails to compile Closes: https://bugs.gentoo.org/649312 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dev-db') diff --git a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild index 1f264a5fc620..f4094ff2f156 100644 --- a/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild +++ b/dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild @@ -16,7 +16,7 @@ else KEYWORDS="~amd64 ~x86" fi -inherit cmake-utils multilib-minimal ${VCS_INHERIT} +inherit cmake-utils multilib-minimal toolchain-funcs ${VCS_INHERIT} MULTILIB_CHOST_TOOLS=( /usr/bin/mariadb_config ) @@ -72,6 +72,12 @@ src_prepare() { cmake-utils_src_prepare } +src_configure() { + # bug 508724 mariadb cannot use ld.gold + tc-ld-disable-gold + multilib-minimal_src_configure +} + multilib_src_configure() { local mycmakeargs=( -DWITH_EXTERNAL_ZLIB=ON -- cgit v1.2.3-65-gdbad