mips64el: glibc: Simplify nan encoding check for rtld name

This commit is contained in:
Xi Ruoyao 2025-02-01 21:41:18 +08:00
parent 858a1409f0
commit f195ff5c96
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -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