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
|
@ -437,7 +437,11 @@ requirement for all GNU Classpath releases after version 0.93.")
|
||||||
args defaults))
|
args defaults))
|
||||||
(apply system* ,java
|
(apply system* ,java
|
||||||
(append
|
(append
|
||||||
(list "-Xnocompact" "-Xnoinlining")
|
(list "-Xnocompact")
|
||||||
|
,,@(if (string-prefix? "armhf" (or (%current-system)
|
||||||
|
(%current-target-system)))
|
||||||
|
'()
|
||||||
|
`((list "-Xnoinlining")))
|
||||||
;; Remove "-J" prefix
|
;; Remove "-J" prefix
|
||||||
(map (cut string-drop <> 2) vm-args)
|
(map (cut string-drop <> 2) vm-args)
|
||||||
'("org.eclipse.jdt.internal.compiler.batch.Main")
|
'("org.eclipse.jdt.internal.compiler.batch.Main")
|
||||||
|
|
Loading…
Reference in New Issue