diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2024-08-19 06:22:07 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2024-08-19 06:22:07 +0000 |
commit | 585a2fe37cc70c2739c4e24696f2c30745fdd299 (patch) | |
tree | 336f9a7af5cc4c6fc7e43a22d6e3e2c4252959f7 | |
parent | 2024-08-19 06:04:16 UTC (diff) | |
parent | toolchain-funcs.eclass: fix detecting ld.bfd (diff) | |
download | gentoo-585a2fe37cc70c2739c4e24696f2c30745fdd299.tar.gz gentoo-585a2fe37cc70c2739c4e24696f2c30745fdd299.tar.bz2 gentoo-585a2fe37cc70c2739c4e24696f2c30745fdd299.zip |
Merge updates from master
-rw-r--r-- | eclass/toolchain-funcs.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index bc1fb064fc45..5e36fa275dcd 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -472,7 +472,7 @@ tc-ld-is-bfd() { EOF out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1) rm -f "${base}"* - if [[ ${out} != "GNU ld"* ]] ; then + if [[ ! ${out} =~ .*^"GNU ld".* ]] ; then return 1 fi |