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
This commit is contained in:
Gerard Beekmans 2003-05-12 01:42:31 +00:00
parent c2c0775c1c
commit fbac4918cc
2 changed files with 6 additions and 1 deletions

View File

@ -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>

View File

@ -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>