summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-03 10:41:48 +0000
committerSam James <sam@gentoo.org>2024-01-03 10:41:48 +0000
commitc39ad19b66bbfb45c5ff0226e8b6b13f861e306a (patch)
treeccfbd17bcc4037648eee3d556e7a75cba6d90cd6 /eclass
parentdev-libs/libgcrypt: pass -Wl,--undefined-version for other linkers if supported (diff)
downloadgentoo-c39ad19b66bbfb45c5ff0226e8b6b13f861e306a.tar.gz
gentoo-c39ad19b66bbfb45c5ff0226e8b6b13f861e306a.tar.bz2
gentoo-c39ad19b66bbfb45c5ff0226e8b6b13f861e306a.zip
qt5-build.eclass: use test-flags-CCLD for -Wl,--undefined-version
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to '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 0cb64f3010ea..0e416e253cc2 100644
--- a/eclass/qt5-build.eclass
+++ b/eclass/qt5-build.eclass
@@ -233,8 +233,8 @@ qt5-build_src_configure() {
# Workaround for bug #915203
# Upstream: https://bugreports.qt.io/browse/QTBUG-111514
- if [[ ${PN} != qtcore ]] && tc-ld-is-lld ; then
- append-ldflags -Wl,--undefined-version
+ if [[ ${PN} != qtcore ]] ; then
+ append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
fi
# many bugs, no one to fix