From 5a4a7dc9e62ed29db77da5b8d93a4b2e0276180f Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver.bock@aei.mpg.de>
Date: Thu, 23 Oct 2008 17:12:21 +0200
Subject: [PATCH] Using fixed GCC 4.0.3 for linux build (on woody aka. roy)

---
 build.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 7dc7e9b..0238af1 100755
--- a/build.sh
+++ b/build.sh
@@ -58,7 +58,7 @@ check_prerequisites()
 	echo "Checking prerequisites..." | tee -a $LOGFILE
 	
 	# required toolchain
-	TOOLS="automake autoconf m4 cmake wget svn cvs tar gcc g++ ld libtool ar lex yacc"
+	TOOLS="automake autoconf m4 cmake wget svn cvs tar patch gcc g++ ld libtool ar lex yacc"
 
 	for tool in $TOOLS; do
 		if ! ( type $tool >/dev/null 2>&1 ); then
@@ -462,6 +462,8 @@ build_starsphere()
 
 build_linux()
 {
+	export CC=/usr/local/gcc-4.0.3/bin/gcc-4.0.3
+	export CXX=/usr/local/gcc-4.0.3/bin/g++-4.0.3
 	build_generic || failure
 	build_starsphere || failure
 
-- 
GitLab