mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-15 19:40:46 +02: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 @@ 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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue