summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-utils-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index f32842b81dd8..bfc43549eb33 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -1663,8 +1663,8 @@ java-pkg_switch-vm() {
java-pkg_setup-vm
- export JAVA=$(java-config -java)
- export JAVAC=$(java-config -javac)
+ export JAVA=$(java-config --java)
+ export JAVAC=$(java-config --javac)
export JAVACFLAGS="$(java-pkg_javac-args)"
[[ -n ${JAVACFLAGS_EXTRA} ]] && export JAVACFLAGS="${JAVACFLAGS_EXTRA} ${JAVACFLAGS}"