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.
This commit is contained in:
parent
73acbc37b1
commit
3a514386c5
4
kaem.run
4
kaem.run
|
@ -1,5 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Copyright © 2019,2020,2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
# Copyright © 2019,2020,2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
|
# Copyright © 2023 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
#
|
#
|
||||||
# This file is part of GNU Mes.
|
# This file is part of GNU Mes.
|
||||||
#
|
#
|
||||||
|
@ -22,6 +23,7 @@
|
||||||
cc_cpu=${cc_cpu:-i386}
|
cc_cpu=${cc_cpu:-i386}
|
||||||
mes_cpu=${mes_cpu:-x86}
|
mes_cpu=${mes_cpu:-x86}
|
||||||
stage0_cpu=${stage0_cpu:-x86}
|
stage0_cpu=${stage0_cpu:-x86}
|
||||||
|
blood_elf_flag=${blood_elf_flag:---little-endian}
|
||||||
|
|
||||||
mkdir -p m2
|
mkdir -p m2
|
||||||
|
|
||||||
|
@ -136,7 +138,7 @@ M2-Planet \
|
||||||
-f src/vector.c \
|
-f src/vector.c \
|
||||||
-o m2/mes.M1
|
-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 \
|
M1 \
|
||||||
--architecture ${stage0_cpu} \
|
--architecture ${stage0_cpu} \
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Copyright © 2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
# Copyright © 2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
#
|
# Copyright © 2023 Andrius Štikonas <andrius@stikonas.eu>
|
||||||
|
|
||||||
# This file is part of GNU Mes.
|
# This file is part of GNU Mes.
|
||||||
#
|
#
|
||||||
# GNU Mes is free software; you can redistribute it and/or modify it
|
# GNU Mes is free software; you can redistribute it and/or modify it
|
||||||
|
@ -22,4 +23,5 @@
|
||||||
cc_cpu=x86_64
|
cc_cpu=x86_64
|
||||||
mes_cpu=x86_64
|
mes_cpu=x86_64
|
||||||
stage0_cpu=amd64
|
stage0_cpu=amd64
|
||||||
|
blood_elf_flag=--64
|
||||||
kaem --verbose --strict
|
kaem --verbose --strict
|
||||||
|
|
Loading…
Reference in a new issue