From 0fa92755df1e4e47e060b71c701adafb4160c2da Mon Sep 17 00:00:00 2001 From: Zack Winkles Date: Fri, 11 Jun 2004 15:49:18 +0000 Subject: Dropped GRUB hack in favor of the real upstream fix git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3776 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/grub.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'chapter06') diff --git a/chapter06/grub.xml b/chapter06/grub.xml index 6b23a5cd5..e7175e231 100644 --- a/chapter06/grub.xml +++ b/chapter06/grub.xml @@ -34,15 +34,14 @@ have defined any environment variables that override default optimizations, such as CFLAGS and CXXFLAGS, we recommend un-setting them when building Grub. -First prepare Grub for compilation: +This package also has issues with being compiled by GCC 3.4, which we +fix by applying the following patch: -./configure --prefix=/usr +patch -Np1 -i ../grub-&grub-version;-gcc34-1.patch -A few of the files comprising Grub have issues with optimizations done -by GCC 3.4. Compile these few files with known-good optimizations: +Prepare Grub for compilation: -make -C stage2 STAGE2_CFLAGS=-O2 \ - pre_stage2_exec-builtins.o pre_stage2_exec-serial.o +./configure --prefix=/usr Now compile the rest of the package: -- cgit v1.2.3-54-g00ecf