From 4b9a8d755b527e1cd2e8092997bf0792f24bea68 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 20 Jul 2001 20:01:18 +0000 Subject: Changing the complete cock up I made of the patch explanation git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@820 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-exp.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/chapter05/gcc-exp.xml b/chapter05/gcc-exp.xml index a8a9130e1..be7d64e48 100644 --- a/chapter05/gcc-exp.xml +++ b/chapter05/gcc-exp.xml @@ -3,9 +3,12 @@ patch -Np1 -i ../gcc-3.0.patch: This patch -changes the compilation options so that the make only fails on the -second error, not the first. This is required for the static build not -to fail. +changes all instances of re_max_failures to re_max_failures2. +re_max_failures is a variable used within Glibc and with static +compiling this variable sometimes clashes between the package's +re_max_failures and the same variable in glibc. By renaming +re_max_failures in the package to re_max_failures2 we just tell the +package to use the second variable so that glibc won't be in the way. -- cgit v1.2.3-54-g00ecf