summaryrefslogtreecommitdiff
path: root/eclass/qt5-build.eclass
diff options
context:
space:
mode:
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 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