summaryrefslogtreecommitdiff
path: root/tools/mwasmarm_patcher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mwasmarm_patcher/Makefile')
-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