From: Robert Schuster Date: Tue, 23 Sep 2008 06:20:45 +0000 (+0000) Subject: classpath-native: Disable ecj warnings. X-Git-Tag: Release-2010-05/1~6014 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e055744ef117422347ec5bfb39d60d1230fdbcf;p=openembedded.git classpath-native: Disable ecj warnings. classpath: Export JAVA environment variable to be picked up properly by newer classpath versions. --- 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 \