gcc: Use the same style for the sanity check compile command as glibc pass1

There seems no valid reason to use a different style here.
This commit is contained in:
Xi Ruoyao 2025-03-27 23:09:40 +08:00
parent 87e90fb633
commit e55a481032
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -223,8 +223,7 @@ su tester -c "PATH=$PATH make -k check"</userinput></screen>
that compiling and linking will work as expected. We do this by performing that compiling and linking will work as expected. We do this by performing
some sanity checks:</para> some sanity checks:</para>
<screen><userinput>echo 'int main(){}' &gt; dummy.c <screen><userinput>echo 'int main(){}' | cc dummy.c -x c - -v -Wl,--verbose &amp;&gt; dummy.log
cc dummy.c -v -Wl,--verbose &amp;&gt; dummy.log
readelf -l a.out | grep ': /lib'</userinput></screen> readelf -l a.out | grep ': /lib'</userinput></screen>
<para>There should be no errors, <para>There should be no errors,
@ -319,7 +318,7 @@ SEARCH_DIR("/usr/lib");</computeroutput></screen>
<para>Once everything is working correctly, clean up the test files:</para> <para>Once everything is working correctly, clean up the test files:</para>
<screen><userinput>rm -v dummy.c a.out dummy.log</userinput></screen> <screen><userinput>rm -v a.out dummy.log</userinput></screen>
<para>Finally, move a misplaced file:</para> <para>Finally, move a misplaced file:</para>