scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 0dfc9769e7eb4e2f8956e7328841c19eb6845587
parent 0e8267d8687f3ac331ef9d69911f796f0bd722c7
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 25 Jan 2018 12:28:33 +0100

[as] Run sort under the C locale

POSIX sort is so stupid that it compares using the current locale.
It means that the order of the instructions depend of the locale.

Diffstat:
Mas/target/z80.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/as/target/z80.mk b/as/target/z80.mk @@ -4,6 +4,6 @@ Z80_LST = target/x80/z80tbl.o target/x80/z80.o target/x80/ins.o $(Z80_LST): target/x80/proc.h target/x80/z80tbl.c: gentbl.awk target/x80/x80.dat target/x80/rules.dat - ./gentbl.sh -f x80 -c z80 + LC_ALL=C ./gentbl.sh -f x80 -c z80 OBJ-z80 = $(OBJ) $(Z80_LST)