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 --- chapter05/adjusting.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter05') diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml index ea14302fa..ae676717e 100644 --- a/chapter05/adjusting.xml +++ b/chapter05/adjusting.xml @@ -39,7 +39,7 @@ to the new dynamic linker. A simple sed script will accomplish this: -SPECFILE=/tools/lib/gcc/*/*/specs && +SPECFILE=`gcc --print-file specs` && sed -e 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \ $SPECFILE > tempspecfile && mv -f tempspecfile $SPECFILE && -- cgit v1.2.3-54-g00ecf