aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/gcc-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/gcc-inst.xml')
-rw-r--r--chapter05/gcc-inst.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml
index 253a12df8..575ee0141 100644
--- a/chapter05/gcc-inst.xml
+++ b/chapter05/gcc-inst.xml
@@ -1,6 +1,12 @@
<sect2>
<title>Installation of GCC</title>
+<para>This package is known to behave badly when you have changed it's default
+optimization flags (including the -march and -mcpu options). GCC is best
+left alone, so we recommend you unsetting CFLAGS, CXXFLAGS and other
+such variables/settings that would change the default optimization that
+it comes with.</para>
+
<para>Install GCC by running the following commands:</para>
<para><screen><userinput>patch -Np1 -i ../gcc-&gcc-patch-version;.patch &amp;&amp;</userinput>