From f6fe5000d71afe93a210ee5e0976fac1a114c03f Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 11 May 2014 15:02:47 +0000 Subject: Update bootscripts for eudev. Add gcc patch for upstream changes. Change explanation for using omit-frame-pointer in gcc-pass2. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10560 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-pass2.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'chapter05') diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index ec9354e18..ce24a3867 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -58,11 +58,9 @@ cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/include-fixed/limits.h - For x86 machines, a bootstrap build of GCC uses the - compiler flag. Non-bootstrap builds - omit this flag by default, and the goal should be to produce a compiler - that is exactly the same as if it were bootstrapped. Apply the following - sed command to force the build to use the flag: + For x86 machines, the limited number of registers is a bottleneck + for the system. Free one up by not using a fram pointer that is not + needed: case `uname -m` in i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;; -- cgit v1.2.3-54-g00ecf