Explorar el Código

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
Gerard Beekmans hace 22 años
padre
commit
fbac4918cc
Se han modificado 2 ficheros con 6 adiciones y 1 borrados
  1. 5 0
      chapter01/changelog.xml
  2. 1 1
      chapter06/gcc-2953-inst.xml

+ 5 - 0
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>
 

+ 1 - 1
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>