bug-mes
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] mescc: Make -m64 work again.


From: W. J. van der Laan
Subject: [PATCH] mescc: Make -m64 work again.
Date: Wed, 05 May 2021 19:51:41 +0000

* 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(-)

Whoops, sure

diff --git a/module/mescc/mescc.scm b/module/mescc/mescc.scm
index 
e3f8c9a82d3727344edd4d8fe42605a48b8e211b..b0e3757fe3a59bafd02f55fb0e72347910dea1a3
 100644
--- a/module/mescc/mescc.scm
+++ b/module/mescc/mescc.scm
@@ -372,7 +372,7 @@
   (let* ((machine (option-ref options 'machine #f))
          (arch (option-ref options 'arch #f))
          (machine (or machine arch "32")))
-    (cond ((member machine '("riscv64" "x86_64")) "64")
+    (cond ((member machine '("64" "riscv64" "x86_64")) "64")
           ((member machine '("arm")) "32")
           (else "32"))))

--
2.27.0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]