aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-03 10:41:48 +0000
committerSam James <sam@gentoo.org>2024-01-03 10:45:55 +0000
commit973e1f7a98705f64da479882b4b8f833e24457cf (patch)
tree67fc23292e828bfcb0f8d80110d0197070a299fb /eclass
parentqt5-build.eclass: qtbase: Bump _QT5_GENTOOPATCHSET_REV=5 for 5.15.12 (diff)
downloadqt-973e1f7a98705f64da479882b4b8f833e24457cf.tar.gz
qt-973e1f7a98705f64da479882b4b8f833e24457cf.tar.bz2
qt-973e1f7a98705f64da479882b4b8f833e24457cf.zip
qt5-build.eclass: use test-flags-CCLD for -Wl,--undefined-version
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/qt5-build.eclass4
1 files 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