aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-12 01:42:31 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-12 01:42:31 +0000
commitfbac4918ccf1245c0db154514af90596bbfdcd35 (patch)
tree909e5e5928bbda257993250d27a7f0421c0a935b
parentc2c0775c1c55ec7b97e9b4738db4be910538dd09 (diff)
added --enable-languages=c,c++ to fix gcc bug with regards to -Wreturn-type
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2578 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter01/changelog.xml5
-rw-r--r--chapter06/gcc-2953-inst.xml2
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index cd59af4d9..875839c13 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -71,6 +71,11 @@
</itemizedlist>
</para></listitem>
+<listitem><para>May 11th, 2003 [gerard]: Chapter 06 - Gcc-2.95.3: Added
+--enable-languages=c,c++ to fix that gcc's version bug with regards to
+-Wreturn-type.</para>
+<para>Fixes bug #525</para></listitem>
+
<listitem><para>May 11th, 2003 [gerard]: Chapter 05 - Bash: Removed the
--without-bash-malloc configure option.</para></listitem>
diff --git a/chapter06/gcc-2953-inst.xml b/chapter06/gcc-2953-inst.xml
index 2a45a5908..b950395ab 100644
--- a/chapter06/gcc-2953-inst.xml
+++ b/chapter06/gcc-2953-inst.xml
@@ -14,7 +14,7 @@ echo timestamp > gcc/cstamp-h.in
mkdir ../gcc-2-build
cd ../gcc-2-build
../gcc-2.95.3/configure --prefix=/opt/gcc-2.95.3 \
-&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-languages=c
+&nbsp;&nbsp;&nbsp;&nbsp;--enable-shared --enable-languages=c,c++
make bootstrap
make install</userinput></screen></para>