summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/gcc/gcc3-build.inc9
-rw-r--r--packages/gcc/gcc4-build.inc0
2 files changed, 8 insertions, 1 deletions
diff --git a/packages/gcc/gcc3-build.inc b/packages/gcc/gcc3-build.inc
index 3e5510c51a..daf8c64763 100644
--- a/packages/gcc/gcc3-build.inc
+++ b/packages/gcc/gcc3-build.inc
@@ -10,11 +10,18 @@ S = "${WORKDIR}/gcc-${PV}"
B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
BINV ?= "${PV}"
+# gcj doesn't work on arm
+JAVA = ",java"
+JAVA_arm = ""
+# gcc4-build sets this to f95
+FORTRAN ?= "f77"
+LANGUAGES ?= "c,c++,${FORTRAN}${JAVA}"
+
EXTRA_OECONF = "${@['--enable-clocale=generic', ''][bb.data.getVar('USE_NLS', d, 1) != 'no']} \
--with-gnu-ld \
--enable-shared \
--enable-target-optspace \
- --enable-languages=c,c++,f77 \
+ --enable-languages=${LANGUAGES} \
--enable-threads=posix \
--enable-multilib \
--enable-c99 \
diff --git a/packages/gcc/gcc4-build.inc b/packages/gcc/gcc4-build.inc
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gcc/gcc4-build.inc