From 941429e2c5d50699cce98d329ef3da7d4be461a4 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Thu, 18 Aug 2005 20:18:30 +0000 Subject: 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 --- 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 3558b1098..3f5ff2958 100644 --- a/chapter05/adjusting.xml +++ b/chapter05/adjusting.xml @@ -36,7 +36,7 @@ to the new dynamic linker. A simple sed script will accomplish this: -SPECFILE=`gcc --print-file specs` && +SPECFILE=`gcc -print-file-name=specs` && sed '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