[lfs] 01/04: mips64el: glibc: Simplify nan encoding check for rtld name

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch xry111/mips64el
in repository lfs.

commit f195ff5c96308370b7c590bd12cc9b06ce144be2
Author: Xi Ruoyao <[email protected]>
AuthorDate: Sat Feb 1 21:41:18 2025 +0800

    mips64el: glibc: Simplify nan encoding check for rtld name
---
 chapter05/glibc.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index e2b5b2d17..6f9d6f171 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -46,7 +46,7 @@
     <para>Create a compatibility symbolic link required for proper
     operation of the dynamic library loader:</para>
 
-<screen><userinput remap="pre">if $LFS_TGT-gcc -v 2>&amp;1 | grep nan=2008 &amp;>/dev/null; then
+<screen><userinput remap="pre">if $LFS_TGT-gcc -v |&amp; grep -q nan=2008; then
   ln -sfv ../lib/ld-linux-mipsn8.so.1 $LFS/lib64
 else
   ln -sfv ../lib/ld.so.1 $LFS/lib64

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.