mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
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:
parent
a495998b79
commit
6e6bd6f929
1 changed files with 5 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue