summary refs log tree commit diff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-06-26 12:07:44 +0300
committerEfraim Flashner <efraim@flashner.co.il>2018-06-26 14:45:58 +0300
commit6e6bd6f92952600e1bddf078daf27000dae8d764 (patch)
tree1bc68fb0530280b8f9e307de447c88dfd231e063 /gnu/packages/java.scm
parenta495998b79f34ebad89942f8827fc18283c0723c (diff)
downloadguix-6e6bd6f92952600e1bddf078daf27000dae8d764.tar.gz
gnu: ecj-javac-bootstrap: Fix building on armhf-linux.
* gnu/packages/java.scm (ecj-javac-bootstrap)[arguments]: On armhf-linux
use different flags when calling 'java'.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e7e34a2910..c0a7cd756a 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -437,7 +437,11 @@ requirement for all GNU Classpath releases after version 0.93.")
                                                args defaults))
                             (apply system* ,java
                                    (append
-                                    (list "-Xnocompact" "-Xnoinlining")
+                                    (list "-Xnocompact")
+                                    ,,@(if (string-prefix? "armhf" (or (%current-system)
+                                                                       (%current-target-system)))
+                                           '()
+                                           `((list "-Xnoinlining")))
                                     ;; Remove "-J" prefix
                                     (map (cut string-drop <> 2) vm-args)
                                     '("org.eclipse.jdt.internal.compiler.batch.Main")