summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-03-01 21:09:47 -0500
committerBrian Evans <grknight@gentoo.org>2018-03-01 21:10:27 -0500
commit91946ca7a026ddd54f23d14f9954219e4898c386 (patch)
tree30d10534da39fd25dd0e5534622d063fd80c22e1 /dev-db/mariadb-connector-c
parentprofiles: arm64/use.mask - qdbm is not keyworded (diff)
downloadgentoo-91946ca7a026ddd54f23d14f9954219e4898c386.tar.gz
gentoo-91946ca7a026ddd54f23d14f9954219e4898c386.tar.bz2
gentoo-91946ca7a026ddd54f23d14f9954219e4898c386.zip
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
Diffstat (limited to 'dev-db/mariadb-connector-c')
-rw-r--r--dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild8
1 files changed, 7 insertions, 1 deletions
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