mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
qt5-build.eclass: guard -Wl,--undefined-version with tc-ld-is-lld
Older binutils doesn't support this flag, so just guard it to make life easier for people. Bug: https://bugs.gentoo.org/915203 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user