summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-12-10 22:26:11 +1100
committerMichael Palimaka <kensington@gentoo.org>2017-12-22 22:56:01 +1100
commit64b2ad10079f4c4931520ef102b35f672ee74d99 (patch)
treeb07bc4a0b0016c342492a16d28b0fe3a237e816a /eclass/qt5-build.eclass
parentqt5-build.eclass: add support for 5.10 URIs (diff)
downloadgentoo-64b2ad10079f4c4931520ef102b35f672ee74d99.tar.gz
gentoo-64b2ad10079f4c4931520ef102b35f672ee74d99.tar.bz2
gentoo-64b2ad10079f4c4931520ef102b35f672ee74d99.zip
qt5-build.eclass: use the system-configured linker
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r--eclass/qt5-build.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 8728acc2c18d..fd29ed1e6c05 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