diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-01-01 10:46:34 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-01-01 10:46:34 +0100 |
commit | 2a4f6eb956db11519d82cebc0d56b3393d459a12 (patch) | |
tree | 42931595fe7bcde02d4b455175a31ffeaea79eef /gnu/packages | |
parent | ad6903b15632f940ea59ddc3726c53e9555b73ca (diff) | |
download | guix-2a4f6eb956db11519d82cebc0d56b3393d459a12.tar.gz |
WIP aarch64
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/java.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index fc7ea120a8..00fbc1ac70 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1688,7 +1688,14 @@ new Date();")) ("make@4.2" ,gnu-make-4.2) ("unzip" ,unzip) ("which" ,which) - ("zip" ,zip))) + ("zip" ,zip) + ,@(if (string-prefix? "aarch64" (or (%current-system) + (%current-target-system))) + ;; On aarch64 OpenJDK 9 only builds with an older version of GCC. + ;; See https://bugs.openjdk.org/browse/JDK-8224851 for details + ;; and changes that could be backported. + `(("gcc" ,gcc-7)) + '()))) (home-page "https://openjdk.java.net/projects/jdk9/") (synopsis "Java development kit") (description |