summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-17 22:55:54 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-23 20:27:46 +0100
commit35bac40a670b82f9b113d34f25c63b60e22f6096 (patch)
treec5e285ad04d0c89e832b0d19f9c12efe00e60ad7
parent4bf00e164feebdf5be8cf65a8c2273cb3460bf68 (diff)
gnu: Add jamvm-with-ecj4.
* gnu/packages/java.scm (jamvm-with-ecj4): New variable.
-rw-r--r--gnu/packages/java.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 23691fca26..c1b3032029 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -877,6 +877,13 @@ supports sufficient parts of Java 7 to build Icedtea 2.x.")
(native-inputs
(list guile-3.0 ecj4-bootstrap jamvm classpath-devel))))
+(define jamvm-with-ecj4
+ (package
+ (inherit jamvm)
+ (inputs
+ (modify-inputs (package-inputs jamvm)
+ (replace "ecj-javac-wrapper" ecj4-javac-wrapper)))))
+
;; The bootstrap JDK consisting of jamvm, classpath-devel,
;; ecj-javac-wrapper-final cannot build Icedtea 2.x directly, because it's
;; written in Java 7. It can, however, build the unmaintained Icedtea 1.x,