From 585ce086da5af7b8f3e33ae93c6b0aa128b51555 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 10 May 2003 17:20:47 +0000 Subject: made adjusting specs file architecture independant git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2548 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/lockingglibc.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'chapter05/lockingglibc.xml') diff --git a/chapter05/lockingglibc.xml b/chapter05/lockingglibc.xml index dd9c61e2c..95d086467 100644 --- a/chapter05/lockingglibc.xml +++ b/chapter05/lockingglibc.xml @@ -11,11 +11,12 @@ You can remove the binutils-* directories now. -SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs && -cp ${SPECFILE} ./XX && -sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' ./XX > ${SPECFILE} && -unset SPECFILE && -rm -f ./XX +SPECFILE=/stage1/lib/gcc-lib/*/*/specs +sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1@g' \ +    -e 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2@g' \ +    $SPECFILE > XX +mv XX $SPECFILE +unset SPECFILE -- cgit v1.2.3-54-g00ecf