Add flags needed for pffi to kawa
This commit is contained in:
parent
cd5090874c
commit
3e6d37c746
|
@ -83,6 +83,7 @@ as compiler.
|
||||||
- kawa
|
- kawa
|
||||||
- interpreter
|
- interpreter
|
||||||
- R7RS
|
- R7RS
|
||||||
|
- Native access is enabled by default so pffi can work
|
||||||
- larceny
|
- larceny
|
||||||
- interpreter
|
- interpreter
|
||||||
- R6RS
|
- R6RS
|
||||||
|
|
|
@ -277,15 +277,23 @@
|
||||||
(apply string-append
|
(apply string-append
|
||||||
`("kawa"
|
`("kawa"
|
||||||
" "
|
" "
|
||||||
,(util-getenv "COMPILE_R7RS_KAWA")
|
"-J--add-exports=java.base/jdk.internal.foreign.abi=ALL-UNNAMED"
|
||||||
" "
|
" "
|
||||||
"--r7rs"
|
"-J--add-exports=java.base/jdk.internal.foreign.layout=ALL-UNNAMED"
|
||||||
|
" "
|
||||||
|
"-J--add-exports=java.base/jdk.internal.foreign=ALL-UNNAMED"
|
||||||
|
" "
|
||||||
|
"-J--enable-native-access=ALL-UNNAMED"
|
||||||
|
" "
|
||||||
|
,(util-getenv "COMPILE_R7RS_KAWA")
|
||||||
" "
|
" "
|
||||||
"-Dkawa.import.path="
|
"-Dkawa.import.path="
|
||||||
,@(map (lambda (item)
|
,@(map (lambda (item)
|
||||||
(string-append item "/*.sld:"))
|
(string-append item "/*.sld:"))
|
||||||
(append prepend-directories append-directories))
|
(append prepend-directories append-directories))
|
||||||
" "
|
" "
|
||||||
|
"--r7rs"
|
||||||
|
" "
|
||||||
,input-file)))))
|
,input-file)))))
|
||||||
(larceny
|
(larceny
|
||||||
(type . interpreter)
|
(type . interpreter)
|
||||||
|
|
Loading…
Reference in New Issue