From 3a514386c5a0cb7428bac6d19477cbae79714f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 30 Apr 2023 19:48:33 +0100 Subject: [PATCH] kaem: Pass --64 to blood_elf on 64-bit arches. * kaem.run (blood_elf_flag): New variable with dummy default value to support kaem from mescc-tools 1.4.0. * kaem.x86_64 (blood_elf_flag): New variable. --- kaem.run | 4 +++- kaem.x86_64 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/kaem.run b/kaem.run index d4d51b54..b87fb97d 100644 --- a/kaem.run +++ b/kaem.run @@ -1,5 +1,6 @@ #! /bin/sh # Copyright © 2019,2020,2022 Jan (janneke) Nieuwenhuizen +# Copyright © 2023 Andrius Štikonas # # This file is part of GNU Mes. # @@ -22,6 +23,7 @@ cc_cpu=${cc_cpu:-i386} mes_cpu=${mes_cpu:-x86} stage0_cpu=${stage0_cpu:-x86} +blood_elf_flag=${blood_elf_flag:---little-endian} mkdir -p m2 @@ -136,7 +138,7 @@ M2-Planet \ -f src/vector.c \ -o m2/mes.M1 -blood-elf --little-endian -f m2/mes.M1 -o m2/mes.blood-elf-M1 +blood-elf ${blood_elf_flag} --little-endian -f m2/mes.M1 -o m2/mes.blood-elf-M1 M1 \ --architecture ${stage0_cpu} \ diff --git a/kaem.x86_64 b/kaem.x86_64 index b20aecc3..0e4d9229 100644 --- a/kaem.x86_64 +++ b/kaem.x86_64 @@ -1,6 +1,7 @@ #! /bin/sh # Copyright © 2022 Jan (janneke) Nieuwenhuizen -# +# Copyright © 2023 Andrius Štikonas + # This file is part of GNU Mes. # # GNU Mes is free software; you can redistribute it and/or modify it @@ -22,4 +23,5 @@ cc_cpu=x86_64 mes_cpu=x86_64 stage0_cpu=amd64 +blood_elf_flag=--64 kaem --verbose --strict