fix AArch64 Mach-O update for cross-compile

This commit is contained in:
Matthew Flatt 2020-12-05 17:02:15 -07:00
parent 24076aa4f1
commit ebffdb1600

View File

@ -33,7 +33,7 @@
(error 'check-same "not: ~e ~e" a b)))
(define (round-up-page v)
(if (eq? 'aarch64 (system-type 'arch))
(if (eq? 'aarch64 (cross-system-type 'arch))
(bitwise-and #xFFFFC000 (+ v #x3FFF))
(bitwise-and #xFFFFF000 (+ v #xFFF))))