diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-31 03:32:53 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-31 03:32:53 +0000 |
commit | e65589fd7306f364e0ab9a2887e791ca147db488 (patch) | |
tree | 8ca2ee3cea46d04f1dcaa08aa6ceec5cdcfb0fd0 /eclass | |
parent | Keyworded ~amd64 for bug #141528 (diff) | |
download | historical-e65589fd7306f364e0ab9a2887e791ca147db488.tar.gz historical-e65589fd7306f364e0ab9a2887e791ca147db488.tar.bz2 historical-e65589fd7306f364e0ab9a2887e791ca147db488.zip |
Added java-pkg_force-compiler
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index c34ca33e415f..cf4273520a53 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -1257,6 +1257,19 @@ java-pkg_filter-compiler() { } # ------------------------------------------------------------------------------ +# @ebuild-function java-pkg_force-compiler +# +# Used to force the use of particular compilers. Should be used in src_compile. +# A common use of this would be to force ecj-3.1 to be used on amd64, to avoid +# OutOfMemoryErrors that may come up. +# +# @param $@ - compilers to force +# ------------------------------------------------------------------------------ +java-pkg_force-compiler() { + JAVA_PKG_FORCE_COMPILER="$@" +} + +# ------------------------------------------------------------------------------ # @ebuild-function use_doc # # Helper function for getting ant to build javadocs. If the user has USE=doc, |