From c480c7e602a28e28e1107e8226f9173c79a9f3c2 Mon Sep 17 00:00:00 2001 From: "W. J. van der Laan" Date: Fri, 23 Apr 2021 14:07:45 +0000 Subject: [PATCH] mescc: Pass --64 to bloodelf for 64 bit machines. * module/mescc/mescc.scm (M1->blood-elf): Pass --64 argument to bloodelf for 64-bit machines. This makes it able to generate the correct ELF format. --- module/mescc/mescc.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/mescc/mescc.scm b/module/mescc/mescc.scm index 265215e9..f262fc7f 100644 --- a/module/mescc/mescc.scm +++ b/module/mescc/mescc.scm @@ -1,5 +1,6 @@ ;;; GNU Mes --- Maxwell Equations of Software ;;; Copyright © 2016,2017,2018,2019,2020,2021 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2021 W. J. van der Laan ;;; ;;; This file is part of GNU Mes. ;;; @@ -249,6 +250,7 @@ (verbose? (count-opt options 'verbose)) (blood-elf (or (getenv "BLOOD_ELF") "blood-elf")) (command `(,blood-elf + ,@(if (equal? (arch-get-machine options) "64") '("--64") '()) "-f" ,(arch-find options (arch-get-m1-macros options)) ,@(append-map (cut list "-f" <>) M1-files) "-o" ,M1-blood-elf-footer)))