cs: fix cross compile to omit RTD descriptions
This is another way that cross compilation differed from direct compilation, overlooked before because it's an argumen to `compile-to-port` instead of a parameter.
This commit is contained in:
parent
185809bc2c
commit
1ad31fe559
|
@ -42,7 +42,7 @@
|
||||||
3
|
3
|
||||||
(optimize-level))]
|
(optimize-level))]
|
||||||
[fasl-compressed compress-code?])
|
[fasl-compressed compress-code?])
|
||||||
(compile-to-port (list v) o #f #f #f (string->symbol target) #f pred))))]
|
(compile-to-port (list v) o #f #f #f (string->symbol target) #f pred 'omit-rtds))))]
|
||||||
[(#\f)
|
[(#\f)
|
||||||
;; Reads host fasl format, then writes target fasl format
|
;; Reads host fasl format, then writes target fasl format
|
||||||
(call-with-fasled
|
(call-with-fasled
|
||||||
|
|
|
@ -258,6 +258,8 @@
|
||||||
(call-getting-literals
|
(call-getting-literals
|
||||||
quoteds
|
quoteds
|
||||||
(lambda (pred)
|
(lambda (pred)
|
||||||
|
;; If arguments change here, then probably they should change in
|
||||||
|
;; "cross-serve.ss", too:
|
||||||
(compile-to-port s o #f #f #f (machine-type) #f pred 'omit-rtds)))))))
|
(compile-to-port s o #f #f #f (machine-type) #f pred 'omit-rtds)))))))
|
||||||
(define (expand/optimize* e unsafe?)
|
(define (expand/optimize* e unsafe?)
|
||||||
(call-with-system-wind (lambda ()
|
(call-with-system-wind (lambda ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user