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.
This commit is contained in:
parent
0a9c8f92cb
commit
c480c7e602
|
@ -1,5 +1,6 @@
|
||||||
;;; GNU Mes --- Maxwell Equations of Software
|
;;; GNU Mes --- Maxwell Equations of Software
|
||||||
;;; Copyright © 2016,2017,2018,2019,2020,2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2016,2017,2018,2019,2020,2021 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
|
;;; Copyright © 2021 W. J. van der Laan <laanwj@protonmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Mes.
|
;;; This file is part of GNU Mes.
|
||||||
;;;
|
;;;
|
||||||
|
@ -249,6 +250,7 @@
|
||||||
(verbose? (count-opt options 'verbose))
|
(verbose? (count-opt options 'verbose))
|
||||||
(blood-elf (or (getenv "BLOOD_ELF") "blood-elf"))
|
(blood-elf (or (getenv "BLOOD_ELF") "blood-elf"))
|
||||||
(command `(,blood-elf
|
(command `(,blood-elf
|
||||||
|
,@(if (equal? (arch-get-machine options) "64") '("--64") '())
|
||||||
"-f" ,(arch-find options (arch-get-m1-macros options))
|
"-f" ,(arch-find options (arch-get-m1-macros options))
|
||||||
,@(append-map (cut list "-f" <>) M1-files)
|
,@(append-map (cut list "-f" <>) M1-files)
|
||||||
"-o" ,M1-blood-elf-footer)))
|
"-o" ,M1-blood-elf-footer)))
|
||||||
|
|
Loading…
Reference in a new issue