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'.
This commit is contained in:
Efraim Flashner 2018-06-26 12:07:44 +03:00
parent a495998b79
commit 6e6bd6f929
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 5 additions and 1 deletions

View File

@ -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")