diff options
author | Dsaster <78389441+dsastr@users.noreply.github.com> | 2021-02-06 01:16:47 +0100 |
---|---|---|
committer | Dsaster <78389441+dsastr@users.noreply.github.com> | 2021-02-06 01:16:47 +0100 |
commit | fc81c4a0af763477fa485e2648cc47ffd5ed703d (patch) | |
tree | 6befd22f4d5f245925fa514e08f0332f7254fbc1 /tools/mwasmarm_patcher | |
parent | 572eddf4890ecbcd1b0e06c02046e29ddd58526f (diff) |
add macOS support
Diffstat (limited to 'tools/mwasmarm_patcher')
-rw-r--r-- | tools/mwasmarm_patcher/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/mwasmarm_patcher/Makefile b/tools/mwasmarm_patcher/Makefile index 9765f713..26df548c 100644 --- a/tools/mwasmarm_patcher/Makefile +++ b/tools/mwasmarm_patcher/Makefile @@ -1,6 +1,11 @@ .PHONY: all clean
+UNAME_S := $(shell uname -s)
+ifeq ($(UNAME_S),Darwin)
+CC := gcc-5
+else
CC := gcc
+endif
CFLAGS := -O3
.PHONY: all clean
|