diff options
Diffstat (limited to 'dev-lang/micropython/micropython-1.23.0.ebuild')
| -rw-r--r-- | dev-lang/micropython/micropython-1.23.0.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-lang/micropython/micropython-1.23.0.ebuild b/dev-lang/micropython/micropython-1.23.0.ebuild index a35b07da8c2f..6d07e5dbd032 100644 --- a/dev-lang/micropython/micropython-1.23.0.ebuild +++ b/dev-lang/micropython/micropython-1.23.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,6 +26,15 @@ PATCHES=( src_prepare() { default + + tc-ld-is-mold && { + # mold doesn't support --cref, bug #937354 + find . -name Makefile -exec sed -r \ + -e 's:map,--cref\s:map :g' \ + -e 's:\s(-Wl,)?--cref(\s|$): :g' \ + -i {} + || die + } + cd ports/unix || die # 1) don't die on compiler warning |
