From 9109cd46dd8cbe0798713282e4908aeb98910a41 Mon Sep 17 00:00:00 2001 From: Zack Winkles Date: Mon, 7 Jun 2004 18:57:42 +0000 Subject: 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 --- chapter06/readjusting.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter06') 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: -SPECFILE=/tools/lib/gcc/*/*/specs && +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 && -- cgit v1.2.3-54-g00ecf