Patch: allow specifiying flags to the VM used in javac script
Martin Buchholz
martinrb at google.com
Wed Jan 7 14:43:03 PST 2009
Why not use the -J flag?
$ javac -help
....
-J<flag> Pass <flag> directly to the runtime system
Martin
On Wed, Jan 7, 2009 at 14:05, Robert Schuster <theBohemian at gmx.net> wrote:
> Hi,
> you may laugh but this is the most simple patch to make cross-compiling
> OpenJDK easier. The reason is that I run ecj with jamvm/cacao which have
> a far to small default maximum heap size to comple hotspot-tools.
>
> With this patch I can ' JAVA_FLAGS="-Xmx4096M" configure ' and
> everything is fine. :)
>
> 2009-01-07 Robert Schuster <robertschuster at fsfe.org>
>
> * javac.in: Added variable @JAVA_FLAGS@ .
> * configure.ac: Added AC_SUBST for JAVA_FLAGS.
>
> Regards
> Robert
>
>
More information about the distro-pkg-dev
mailing list