mescc: Make -m64 work again.

* module/mescc/mescc.scm (arch-get-machine): Make that -m64 on the command
line, which sets machine to "64", returns "64" and not "32".
This commit is contained in:
W. J. van der Laan 2021-05-05 19:51:41 +00:00 committed by Jan (janneke) Nieuwenhuizen
parent be4514c4de
commit 191d822e95
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -363,7 +363,7 @@
(let* ((machine (option-ref options 'machine #f))
(arch (option-ref options 'arch #f))
(machine (or machine arch "32")))
(cond ((member machine '("x86_64")) "64")
(cond ((member machine '("64" "x86_64")) "64")
((member machine '("arm")) "32")
(else "32"))))