mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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:
parent
1ba726fd6f
commit
b87ea8726b
@ -42,6 +42,10 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>[jhuntwork] - Restore the use of *startfile_prefix_spec.
|
<para>[jhuntwork] - Restore the use of *startfile_prefix_spec.
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>[jhuntwork] - Remove a spurious -i from the perl command when
|
||||||
|
readjusting the toolchain. Thanks Dan Nicholson.
|
||||||
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
@ -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>
|
A <command>perl</command> command accomplishes this:</para>
|
||||||
|
|
||||||
<screen><userinput>gcc -dumpspecs | \
|
<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;' > \
|
-e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' > \
|
||||||
`dirname $(gcc --print-libgcc-file-name)`/specs
|
`dirname $(gcc --print-libgcc-file-name)`/specs
|
||||||
</userinput></screen>
|
</userinput></screen>
|
||||||
|
Loading…
Reference in New Issue
Block a user