From 8b69ae47340020f78d57b1be48a93cf5f507f5d6 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 14 Feb 2014 23:25:53 +0000 Subject: Make sed for omit-frame-pointers the same in Chapters 5 and 6. i Simplify zimesone configuration in glibc. Let the glibc Makefile install rpc headers. Update to linux-3.13.3. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10467 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-pass2.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chapter05/gcc-pass2.xml') diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 310abb457..e96c469ad 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -64,9 +64,9 @@ that is exactly the same as if it were bootstrapped. Apply the following sed command to force the build to use the flag: -cp -v gcc/Makefile.in{,.tmp} -sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \ - > gcc/Makefile.in +case `uname -m` in + i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; +esac Once again, change the location of GCC's default dynamic linker to use the one installed in