diff options
author | red031000 <rubenru09@aol.com> | 2021-02-10 10:54:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 10:54:44 +0000 |
commit | 41bce72d7d97a7843debfe0807d68423f54142f5 (patch) | |
tree | ef85d7e696db76e9eaba5600d89afb7b4ab454b4 /tools/mwasmarm_patcher/Makefile | |
parent | 572eddf4890ecbcd1b0e06c02046e29ddd58526f (diff) | |
parent | 904d950a9ed1876554557cba5a2e627d46c139cb (diff) |
Merge pull request #317 from dsastr/macos-mojave-support
Add support for building on macOS
Diffstat (limited to 'tools/mwasmarm_patcher/Makefile')
-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
|