aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
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 /chapter06
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
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/gcc-2953-inst.xml2
1 files changed, 1 insertions, 1 deletions
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>