From 94b475013eb88e152032d5f8c684a7d9ce91e319 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Jan 2024 13:56:25 +0000 Subject: gentoo auto-resync : 03:01:2024 - 13:56:25 --- eclass/Manifest.gz | Bin 38929 -> 38933 bytes eclass/qt5-build.eclass | 4 ++-- eclass/qt6-build.eclass | 16 +--------------- 3 files changed, 3 insertions(+), 17 deletions(-) (limited to 'eclass') diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz index e427dea174f8..ab93c64c4ec4 100644 Binary files a/eclass/Manifest.gz and b/eclass/Manifest.gz differ diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 0cb64f3010ea..0e416e253cc2 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 ]] && tc-ld-is-lld ; then - append-ldflags -Wl,--undefined-version + if [[ ${PN} != qtcore ]] ; then + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) fi # many bugs, no one to fix diff --git a/eclass/qt6-build.eclass b/eclass/qt6-build.eclass index 0e439e946af3..561a4fe20422 100644 --- a/eclass/qt6-build.eclass +++ b/eclass/qt6-build.eclass @@ -1,4 +1,4 @@ -# Copyright 2021-2023 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: qt6-build.eclass @@ -196,20 +196,6 @@ qt_feature() { echo "-DQT_FEATURE_${2:-${1}}=$(usex ${1} ON OFF)" } -# @FUNCTION: qt6_symlink_binary_to_path -# @USAGE: [suffix] -# @DESCRIPTION: -# Symlink a given binary from QT6_BINDIR to QT6_PREFIX/bin, with -# optional suffix. -# -# Note: deprecated, will be removed when no consumers left in-tree, -# see internal the _qt6-build_create_user_facing_links -qt6_symlink_binary_to_path() { - [[ ${#} -ge 1 ]] || die "${FUNCNAME}() requires at least one argument" - - dosym -r "${QT6_BINDIR}"/${1} /usr/bin/${1}${2} -} - ###### Internal functions ###### # @FUNCTION: _qt6-build_create_user_facing_links -- cgit v1.2.3