diff options
author | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-07 18:57:42 +0000 |
---|---|---|
committer | Zack Winkles <winkie@linuxfromscratch.org> | 2004-06-07 18:57:42 +0000 |
commit | 9109cd46dd8cbe0798713282e4908aeb98910a41 (patch) | |
tree | af4d7772f160b90d342463f27387e314125d9457 /chapter06 | |
parent | 71bbe67154812a63d55689259d1467b853a25b48 (diff) |
Use "gcc --print-file specs" to determine the location of the specs file
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3761 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/readjusting.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter06/readjusting.xml b/chapter06/readjusting.xml index e4c8c46a6..c8c2f4bbd 100644 --- a/chapter06/readjusting.xml +++ b/chapter06/readjusting.xml @@ -52,7 +52,7 @@ this:</para> <!-- Ampersands are needed to allow cut and paste --> -<screen><userinput>SPECFILE=/tools/lib/gcc/*/*/specs && +<screen><userinput>SPECFILE=`gcc --print-file specs` && sed -e 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2@g' \ $SPECFILE > newspecfile && mv -f newspecfile $SPECFILE && |