From 8e055744ef117422347ec5bfb39d60d1230fdbcf Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Tue, 23 Sep 2008 06:20:45 +0000 Subject: [PATCH] classpath-native: Disable ecj warnings. classpath: Export JAVA environment variable to be picked up properly by newer classpath versions. --- packages/classpath/classpath-native.inc | 1 + packages/classpath/classpath.inc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/classpath/classpath-native.inc b/packages/classpath/classpath-native.inc index 992a16ec7a..060dd3f540 100644 --- a/packages/classpath/classpath-native.inc +++ b/packages/classpath/classpath-native.inc @@ -18,6 +18,7 @@ do_configure_prepend () { } export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial" +export JAVACFLAGS="-nowarn" # Note: the --with-ecj options seems redundant but is # for compatibility with older classpath versions. diff --git a/packages/classpath/classpath.inc b/packages/classpath/classpath.inc index 65bc465200..e0d6a2abb7 100644 --- a/packages/classpath/classpath.inc +++ b/packages/classpath/classpath.inc @@ -21,6 +21,8 @@ SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz" S = "${WORKDIR}/${PBN}-${PV}" +export JAVA = "java" + EXTRA_OECONF = "\ --with-glibj \ --with-ecj=javac \ -- 2.39.5