commit:     ed0103e1efc72ff81c5cdc894fe3d81851b5637b
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 29 07:32:18 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Wed Jun 29 07:34:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0103e1

sys-devel/mold: fix prepare phase when glibc has no static-pie

Closes: https://bugs.gentoo.org/854474
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 sys-devel/mold/mold-1.3.0.ebuild | 2 +-
 sys-devel/mold/mold-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-devel/mold/mold-1.3.0.ebuild b/sys-devel/mold/mold-1.3.0.ebuild
index 1fe9a5a08e35..2a7faac5052d 100644
--- a/sys-devel/mold/mold-1.3.0.ebuild
+++ b/sys-devel/mold/mold-1.3.0.ebuild
@@ -62,7 +62,7 @@ src_prepare() {
 
        # static-pie tests require glibc built with static-pie support
        if ! has_version -d 'sys-libs/glibc[static-pie(+)]'; then
-               rm test/elf/{hello,ifunc}-static-pie.sh || die
+               rm test/elf/{,ifunc-}static-pie.sh || die
        fi
 }
 

diff --git a/sys-devel/mold/mold-9999.ebuild b/sys-devel/mold/mold-9999.ebuild
index 1fe9a5a08e35..2a7faac5052d 100644
--- a/sys-devel/mold/mold-9999.ebuild
+++ b/sys-devel/mold/mold-9999.ebuild
@@ -62,7 +62,7 @@ src_prepare() {
 
        # static-pie tests require glibc built with static-pie support
        if ! has_version -d 'sys-libs/glibc[static-pie(+)]'; then
-               rm test/elf/{hello,ifunc}-static-pie.sh || die
+               rm test/elf/{,ifunc-}static-pie.sh || die
        fi
 }
 

Reply via email to