diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index e9cb2f50fd3a1..db333767fae69 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -233,7 +233,7 @@ qt5-build_src_configure() { # Workaround for bug #915203 # Upstream: https://bugreports.qt.io/browse/QTBUG-111514 - if [[ ${PN} != qtcore ]]; then + if [[ ${PN} != qtcore ]] && tc-ld-is-lld ; then append-ldflags -Wl,--undefined-version fi