commit:     973e1f7a98705f64da479882b4b8f833e24457cf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 10:41:48 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 10:45:55 2024 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=973e1f7a

qt5-build.eclass: use test-flags-CCLD for -Wl,--undefined-version

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/qt5-build.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 2c65ac9b..e7f9a016 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 ]]; then
-               append-ldflags -Wl,--undefined-version
+       if [[ ${PN} != qtcore ]]; the
+               append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
        fi
 
        # many bugs, no one to fix

Reply via email to