gcc 4.1.1: make $JAVA and $FORTRAN actually have an effect on $LANGUAGES
authorKoen Kooi <koen@openembedded.org>
Thu, 9 Nov 2006 15:24:12 +0000 (15:24 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 9 Nov 2006 15:24:12 +0000 (15:24 +0000)
packages/gcc/gcc_4.1.1.bb

index cd93cab..9c0bd7b 100644 (file)
@@ -34,6 +34,7 @@ SRC_URI = "http://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.1/gcc-4.1.1.tar.bz2 \
 SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
 
 #Set the fortran bits
+# 'fortran' or '', not 'f77' like gcc3 had 
 FORTRAN = "" 
 HAS_GFORTRAN = "no"
 HAS_G2C = "no"
@@ -41,7 +42,7 @@ HAS_G2C = "no"
 #Set the java bits
 JAVA_arm = ""  
 
-LANGUAGES = "c,c++"
+LANGUAGES = "c,c++${FORTRAN}${JAVA}"
 require gcc3-build.inc