summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-11-09 08:00:59 +0200
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:17 +0200
commit71aef8cbcd9c1ff29da1c055115ee4caedff32f6 (patch)
tree1a1bab39a99a7fc8c38cd3cad3202ef307ef3969 /gnu/packages/java.scm
parent8fbae8edf9da15e526df6b65fdd2604d0a7cb02b (diff)
downloadguix-71aef8cbcd9c1ff29da1c055115ee4caedff32f6.tar.gz
gnu: icedtea-8: Fix building on powerpc-linux.
* gnu/packages/java.scm (icedtea-8)[arguments]: When building for
powerpc-linux add a configure-flag to skip the java flight recorder.

Change-Id: I3b9e137c82766507c46ba7a54dff64c3c50c3685
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index fec475daad..9faf1b1877 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -744,6 +744,10 @@ IcedTea build harness.")
                    "--enable-nss"
                    ,(string-append "--with-parallel-jobs="
                                    (number->string (parallel-job-count)))
+                   ;; Java Flight Recorder isn't supported on some architectures.
+                   ,@(if ,(target-ppc32?)
+                       `("--enable-jfr=no")
+                       '())
                    "--disable-downloading"
                    "--disable-system-pcsc"
                    "--disable-system-sctp"