aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/grub.xml
diff options
context:
space:
mode:
authorZack Winkles <winkie@linuxfromscratch.org>2004-05-03 21:28:58 +0000
committerZack Winkles <winkie@linuxfromscratch.org>2004-05-03 21:28:58 +0000
commit9dfc02ff38f26117daffe7d8b822ebb64a3fed04 (patch)
treec3ea0521973ac75238f6ab5f674d5b4fc4032df8 /chapter06/grub.xml
parent411ceb86b8150183a447f89b4789395bf16fddf0 (diff)
Current BE-LFS (but w/ GCC 3.3.3) merged -> 6.0 branch
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3445 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/grub.xml')
-rw-r--r--chapter06/grub.xml11
1 files changed, 10 insertions, 1 deletions
diff --git a/chapter06/grub.xml b/chapter06/grub.xml
index a7c7ff1bc..3abecc041 100644
--- a/chapter06/grub.xml
+++ b/chapter06/grub.xml
@@ -32,10 +32,19 @@ Grub.</para>
<screen><userinput>./configure --prefix=/usr</userinput></screen>
-<para>Compile the package:</para>
+<para>A few of the files comprising Grub have issues with optimizations done
+by GCC 3.4. Compile these few files with known-good optimizations:</para>
+
+<screen><userinput>make -C stage2 STAGE2_CFLAGS=-O2 \
+ pre_stage2_exec-builtins.o pre_stage2_exec-serial.o</userinput></screen>
+
+<para>Now compile the rest of the package:</para>
<screen><userinput>make</userinput></screen>
+<para>To test the results, issue:
+<userinput>make check</userinput>.</para>
+
<para>Now install it:</para>
<screen><userinput>make install