gcc: make fortran switches behave like the java switches to battle the 'g++ disappear...
authorKoen Kooi <koen@openembedded.org>
Mon, 31 Jul 2006 07:45:26 +0000 (07:45 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 31 Jul 2006 07:45:26 +0000 (07:45 +0000)
packages/gcc/gcc3-build.inc
packages/gcc/gcc4-build.inc
packages/gcc/gcc_4.1.1.bb

index d156645..6260a51 100644 (file)
@@ -17,8 +17,8 @@ JAVA_armeb ?= ""
 JAVA_mipsel ?= ""
 JAVA_sh3 ?= ""
 # gcc4-build sets this to f95
-FORTRAN ?= "f77"
-LANGUAGES ?= "c,c++,${FORTRAN}${JAVA}"
+FORTRAN ?= ",f77"
+LANGUAGES ?= "c,c++${FORTRAN}${JAVA}"
 
 EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
                 --with-gnu-ld \
index a206119..b8a214a 100644 (file)
@@ -1,4 +1,4 @@
-FORTRAN = "f95"
+FORTRAN = ",f95"
 HAS_GFORTRAN ?= "yes"
 HAS_G2C = "no"
 
index 3512482..c5af490 100644 (file)
@@ -37,6 +37,7 @@ HAS_G2C = "no"
 #Set the java bits
 JAVA_arm = ""  
 
+LANGUAGES = "c,c++"
 include gcc3-build.inc