Remove a spurious -i from the perl command when readjusting the toolchain.

Thanks Dan Nicholson.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7315 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Jeremy Huntwork 2006-01-30 04:20:15 +00:00
parent 1ba726fd6f
commit b87ea8726b
2 changed files with 5 additions and 1 deletions

View File

@ -42,6 +42,10 @@
<listitem>
<para>[jhuntwork] - Restore the use of *startfile_prefix_spec.
</listitem>
<listitem>
<para>[jhuntwork] - Remove a spurious -i from the perl command when
readjusting the toolchain. Thanks Dan Nicholson.
</listitem>
</itemizedlist>
</listitem>

View File

@ -33,7 +33,7 @@ dynamic linker, and so that GCC knows where to find its start files.
A <command>perl</command> command accomplishes this:</para>
<screen><userinput>gcc -dumpspecs | \
perl -pi -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \
perl -p -e 's@/tools/lib/ld-linux.so.2@/lib/ld-linux.so.2@g;' \
-e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' &gt; \
`dirname $(gcc --print-libgcc-file-name)`/specs
</userinput></screen>