From adb049350a5d4b15b5ee19739d9f2baed83f6acf Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Wed, 11 Oct 2023 15:30:44 +0300 Subject: qt5-build.eclass: workaround undefined qt_version_tag (LLD 17) Bug: https://bugreports.qt.io/browse/QTBUG-111514 Bug: https://bugs.gentoo.org/915203 Signed-off-by: Alfred Wingate Closes: https://github.com/gentoo/gentoo/pull/33302 Signed-off-by: Sam James --- eclass/qt5-build.eclass | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'eclass') diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 5e23d793915a..e9cb2f50fd3a 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -231,6 +231,12 @@ qt5-build_src_configure() { qt5_tools_configure fi + # Workaround for bug #915203 + # Upstream: https://bugreports.qt.io/browse/QTBUG-111514 + if [[ ${PN} != qtcore ]]; then + append-ldflags -Wl,--undefined-version + fi + qt5_foreach_target_subdir qt5_qmake } -- cgit v1.2.3-65-gdbad