classpath-native: Disable ecj warnings.
authorRobert Schuster <thebohemian@gmx.net>
Tue, 23 Sep 2008 06:20:45 +0000 (06:20 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Tue, 23 Sep 2008 06:20:45 +0000 (06:20 +0000)
classpath: Export JAVA environment variable to be picked up properly by newer classpath versions.

packages/classpath/classpath-native.inc
packages/classpath/classpath.inc

index 992a16e..060dd3f 100644 (file)
@@ -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.
index 65bc465..e0d6a2a 100644 (file)
@@ -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 \