summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java-bootstrap.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/java-bootstrap.scm b/gnu/packages/java-bootstrap.scm
index 481d8cd075..645cbfa442 100644
--- a/gnu/packages/java-bootstrap.scm
+++ b/gnu/packages/java-bootstrap.scm
@@ -3,7 +3,7 @@
;;; Copyright © 2021 Ludovic Courtès <[email protected]>
;;; Copyright © 2017 Leo Famulari <[email protected]>
;;; Copyright © 2017, 2022 Marius Bakke <[email protected]>
-;;; Copyright © 2018, 2020 Efraim Flashner <[email protected]>
+;;; Copyright © 2018, 2020, 2024 Efraim Flashner <[email protected]>
;;; Copyright © 2018 Gábor Boskovits <[email protected]>
;;; Copyright © 2018 Mark H Weaver <[email protected]>
;;; Copyright © 2019 Andrius Štikonas <[email protected]>
@@ -492,10 +492,9 @@ the standard javac executable.")))
(for-each (lambda (tool)
(with-output-to-file (string-append bin tool)
(lambda _
- #$@(if (string-prefix? "armhf" (or (%current-system)
- (%current-target-system)))
+ #$@(if (target-arm32?)
`((format #t "#!~a/bin/sh
-~a/bin/jamvm -Xnocompact -classpath ~a/share/classpath/tools.zip \
+~a/bin/jamvm -classpath ~a/share/classpath/tools.zip \
gnu.classpath.tools.~a.~a $@"
bash jamvm classpath tool
(if (string=? "native2ascii" tool)