commit:     7e2a22d0add591a966424c9d7c602ff372db0eb7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu May  9 13:18:04 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu May  9 13:23:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e2a22d0

dev-libs/mpdecimal: Override linker vars as well

Closes: https://bugs.gentoo.org/931599
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild 
b/dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild
index 5007e4cc6abc..dff4ce3303d8 100644
--- a/dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild
+++ b/dev-libs/mpdecimal/mpdecimal-4.0.0.ebuild
@@ -47,7 +47,9 @@ src_configure() {
                $(use_enable cxx)
        )
 
-       local -x LDXXFLAGS="${LDFLAGS}"
+       # more sigh
+       # https://bugs.gentoo.org/931599
+       local -x LDXXFLAGS="${LDFLAGS}" LD="${CC}" LDXX="${CXX}"
        econf "${myconf[@]}"
 }
 

Reply via email to