guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/05: gnu: classpath-jamvm-wrappers: Adjust wrapper for armhf-linux.


From: guix-commits
Subject: 05/05: gnu: classpath-jamvm-wrappers: Adjust wrapper for armhf-linux.
Date: Thu, 26 Sep 2024 11:15:49 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 3171ff971c1c8d230e4a22091c9322e87b8b6c9d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Sep 26 15:05:18 2024 +0300

    gnu: classpath-jamvm-wrappers: Adjust wrapper for armhf-linux.
    
    This fixes building icedtea-2 on armhf-linux.
    
    * gnu/packages/java-bootstrap.scm (classpath-jamvm-wrappers)[arguments]:
    Adjust the flags passed to jamvm in the wrapper script when building for
    armhf-linux.
    
    Change-Id: I68a47b0eec761b1be9126ac814693fba7fa7e56e
---
 gnu/packages/java-bootstrap.scm | 7 +++----
 1 file 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 <ludo@gnu.org>
 ;;; Copyright © 2017 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2017, 2022 Marius Bakke <marius@gnu.org>
-;;; Copyright © 2018, 2020 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2018, 2020, 2024 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
 ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2019 Andrius Štikonas <andrius@stikonas.eu>
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]