diff options
author | Alfred Wingate <parona@protonmail.com> | 2023-10-11 15:30:44 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-15 16:22:41 +0100 |
commit | adb049350a5d4b15b5ee19739d9f2baed83f6acf (patch) | |
tree | d68d3766d25989a3016703238a7be824141a045e /eclass | |
parent | sys-kernel/installkernel-systemd-boot: fix filename (diff) | |
download | gentoo-adb049350a5d4b15b5ee19739d9f2baed83f6acf.tar.gz gentoo-adb049350a5d4b15b5ee19739d9f2baed83f6acf.tar.bz2 gentoo-adb049350a5d4b15b5ee19739d9f2baed83f6acf.zip |
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 <parona@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33302
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/qt5-build.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
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 } |