new arm64_apple target

Should make qbe work on apple
arm-based hardware.
This commit is contained in:
Quentin Carbonneaux 2022-08-31 21:29:15 +02:00
parent bda9f2833c
commit 79f3673d20
8 changed files with 273 additions and 73 deletions

View file

@ -30,7 +30,14 @@ main.o: config.h
config.h:
@case `uname` in \
*Darwin*) \
echo "#define Deftgt T_amd64_apple"; \
case `uname -m` in \
*arm64*) \
echo "#define Deftgt T_arm64_apple";\
;; \
*) \
echo "#define Deftgt T_amd64_apple";\
;; \
esac \
;; \
*) \
case `uname -m` in \