aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2005-08-18 20:18:30 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2005-08-18 20:18:30 +0000
commit941429e2c5d50699cce98d329ef3da7d4be461a4 (patch)
treebb523631b3cdeb17b69f6c7bf3c7f364ec13bc6b /chapter06
parentd3583ed55bb1df5b3e17d3dcb67d04c9761ee252 (diff)
Use -print-file-name=specs instead of the undocumented --print-file-name switch for GCC's specs file edit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6711 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/readjusting.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml
index cd7fdfb6b..760f35cb0 100644
--- a/chapter06/readjusting.xml
+++ b/chapter06/readjusting.xml
@@ -55,7 +55,7 @@ dynamic linker. A <command>perl</command> command accomplishes this:</para>
<screen><userinput>perl -pi -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g;' \
-e 's@\*startfile_prefix_spec:\n@$_/usr/lib/ @g;' \
- `gcc --print-file specs`</userinput></screen>
+ `gcc -print-file-name=specs`</userinput></screen>
<para>It is a good idea to visually inspect the specs file to verify the intended
change was actually made.</para>