diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2019-05-17 17:14:37 +0200 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2019-05-17 15:33:25 -0400 |
commit | 4be8cdbce708604f34fd8d9018198027e353a011 (patch) | |
tree | 4afa2eac64d7e8c16e55378202f78567918451fd /dev-libs/protobuf | |
parent | dev-libs/oniguruma: Version bump (6.9.2). (diff) | |
download | gentoo-4be8cdbce708604f34fd8d9018198027e353a011.tar.gz gentoo-4be8cdbce708604f34fd8d9018198027e353a011.tar.bz2 gentoo-4be8cdbce708604f34fd8d9018198027e353a011.zip |
dev-libs/protobuf: Force linker BFD when linker GOLD is detected.
Fixes: https://bugs.gentoo.org/683892
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs/protobuf')
-rw-r--r-- | dev-libs/protobuf/protobuf-3.7.1.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-libs/protobuf/protobuf-3.7.1.ebuild b/dev-libs/protobuf/protobuf-3.7.1.ebuild index f28a36c024b2..a7ca525e9d86 100644 --- a/dev-libs/protobuf/protobuf-3.7.1.ebuild +++ b/dev-libs/protobuf/protobuf-3.7.1.ebuild @@ -47,6 +47,12 @@ src_prepare() { src_configure() { append-cppflags -DGOOGLE_PROTOBUF_NO_RTTI + + if tc-ld-is-gold; then + # https://sourceware.org/bugzilla/show_bug.cgi?id=24527 + tc-ld-disable-gold + fi + multilib-minimal_src_configure } |