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

View file

@ -437,7 +437,11 @@ (define (main args)
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")