summaryrefslogtreecommitdiff
path: root/tools/mwasmarm_patcher
diff options
context:
space:
mode:
authorwho-knows-who <j.williams97@outlook.com>2021-02-27 15:29:36 +0000
committerwho-knows-who <j.williams97@outlook.com>2021-02-27 15:29:36 +0000
commitaa968bb2de4d703376af43a0ef32a53ca46f489b (patch)
tree699d89dda03b1b81b4a0a87b8694073a71157d1a /tools/mwasmarm_patcher
parente13202e2f19c9f1673a021dbcc062d96b9f0f06c (diff)
parent75dc81c75dc1dc86053303cdae9decdb2f05557d (diff)
Merge branch 'master' of github.com:pret/pokediamond
Diffstat (limited to 'tools/mwasmarm_patcher')
-rw-r--r--tools/mwasmarm_patcher/Makefile5
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