new arm64_apple target
Should make qbe work on apple arm-based hardware.
This commit is contained in:
parent
bda9f2833c
commit
79f3673d20
8 changed files with 273 additions and 73 deletions
9
Makefile
9
Makefile
|
@ -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 \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue