aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-14 23:25:53 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2014-02-14 23:25:53 +0000
commit8b69ae47340020f78d57b1be48a93cf5f507f5d6 (patch)
tree8f0fd00f5781ebac6cb2796b4859e37149f17323 /chapter05
parent0fe687219065f690731f57f01b3ed213c61e8901 (diff)
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
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/gcc-pass2.xml6
1 files changed, 3 insertions, 3 deletions
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
<command>sed</command> command to force the build to use the flag:</para>
-<screen><userinput remap="pre">cp -v gcc/Makefile.in{,.tmp}
-sed 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in.tmp \
- &gt; gcc/Makefile.in</userinput></screen>
+<screen><userinput remap="pre">case `uname -m` in
+ i?86) sed -i 's/^T_CFLAGS =$/&amp; -fomit-frame-pointer/' gcc/Makefile.in ;;
+esac</userinput></screen>
<para>Once again, change the location of GCC's default dynamic linker to
use the one installed in <filename