aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/grub-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/grub-inst.xml')
-rw-r--r--chapter06/grub-inst.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter06/grub-inst.xml b/chapter06/grub-inst.xml
index de889e0d9..f8680e2ae 100644
--- a/chapter06/grub-inst.xml
+++ b/chapter06/grub-inst.xml
@@ -3,6 +3,12 @@
<sect2>
<title>Installation of Grub</title>
+<para>This package is known to behave badly when you have changed its default
+optimization flags (including the -march and -mcpu options). Therefore, if you
+have defined any environment variables that override default optimizations,
+such as CFLAGS and CXXFLAGS, we recommend unsetting them when building
+Grub.</para>
+
<para>Grub needs a patch applied that fixes a compile problem with
GCC-3.3.1:</para>