From fbac4918ccf1245c0db154514af90596bbfdcd35 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Mon, 12 May 2003 01:42:31 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 5 +++++ chapter06/gcc-2953-inst.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 @@ +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. +Fixes bug #525 + May 11th, 2003 [gerard]: Chapter 05 - Bash: Removed the --without-bash-malloc configure option. 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 \ -    --enable-shared --enable-languages=c +    --enable-shared --enable-languages=c,c++ make bootstrap make install