From 191d822e950a063c87f95db6d52fef8c9b3fa29c Mon Sep 17 00:00:00 2001 From: "W. J. van der Laan" Date: Wed, 5 May 2021 19:51:41 +0000 Subject: [PATCH] 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". --- module/mescc/mescc.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/mescc/mescc.scm b/module/mescc/mescc.scm index f262fc7f..563f1775 100644 --- a/module/mescc/mescc.scm +++ b/module/mescc/mescc.scm @@ -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"))))