commit:     64b2ad10079f4c4931520ef102b35f672ee74d99
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 10 11:26:11 2017 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 11:56:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b2ad10

qt5-build.eclass: use the system-configured linker

 eclass/qt5-build.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 8728acc2c18..fd29ed1e6c0 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -632,8 +632,8 @@ qt5_base_configure() {
                # supported; see also 
https://bugreports.qt.io/browse/QTBUG-36129
                #-reduce-relocations
 
-               # let configure automatically detect if GNU gold is available
-               #-use-gold-linker
+               # use the system linker (gold will be selected automagically 
otherwise)
+               $(tc-ld-is-gold && echo -use-gold-linker || echo 
-no-use-gold-linker)
 
                # disable all platform plugins by default, override in qtgui
                -no-xcb -no-eglfs -no-kms -no-gbm -no-directfb -no-linuxfb 
-no-mirclient

Reply via email to