diff options
| author | Quentin Carbonneaux <[email protected]> | 2022-08-31 21:29:15 +0200 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2022-10-03 10:41:26 +0200 |
| commit | 79f3673d205617ac567f0566ebf8f450932d9976 (patch) | |
| tree | 48ea32843eacd8ac33b4bbcdc975df5d8ab6356c /Makefile | |
| parent | bda9f2833c39ea5f4266dbcb4506ed8895e22d3f (diff) | |
new arm64_apple target
Should make qbe work on apple
arm-based hardware.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 \ |
