summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/classpath/classpath-native.inc4
-rw-r--r--packages/classpath/classpath.inc6
2 files changed, 1 insertions, 9 deletions
diff --git a/packages/classpath/classpath-native.inc b/packages/classpath/classpath-native.inc
index 310ca3c3af..bb5abaf178 100644
--- a/packages/classpath/classpath-native.inc
+++ b/packages/classpath/classpath-native.inc
@@ -10,10 +10,6 @@ DEPENDS = "ecj-initial fastjar-native zip-native"
inherit autotools native
-# Newer versions expect setting the compiler through this
-# environment variable.
-export JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial
-
EXTRA_OECONF = "\
--with-glibj \
--with-ecj=${STAGING_BINDIR_NATIVE}/ecj-initial \
diff --git a/packages/classpath/classpath.inc b/packages/classpath/classpath.inc
index 0ea5d36f33..cfb9f1c089 100644
--- a/packages/classpath/classpath.inc
+++ b/packages/classpath/classpath.inc
@@ -20,13 +20,9 @@ SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
S = "${WORKDIR}/${PBN}-${PV}"
-# Newer versions expect setting the compiler through this
-# environment variable.
-export JAVAC=${STAGING_BINDIR_NATIVE}/javac
-
EXTRA_OECONF = "\
--with-glibj \
- --with-ecj=${STAGING_BINDIR_NATIVE}/javac \
+ --with-ecj=javac \
--with-fastjar=fastjar \
--includedir=${includedir}/classpath \
--with-vm=java \