summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnestis Bechtsoudis <anestis@census-labs.com>2017-11-03 07:13:54 +0200
committerAnestis Bechtsoudis <anestis@census-labs.com>2017-11-03 07:13:54 +0200
commit6f902a4614adfa1caf40fdd586a485e6405f9a2a (patch)
treed5b5aff5f09b8446f68b76605b93901b80ae1918 /Makefile
parent4cb55adb755045b9a1da9de2df32f0b3b92b808d (diff)
downloadhonggfuzz-6f902a4614adfa1caf40fdd586a485e6405f9a2a.tar.gz
macOS: Support for 10.13 & update CrashWrangler bin
Apple has released a CrashWrangler update due to the recent changes in the CrashReporter frameworks. Use the latest version when compiling under 10.13 (High SIerra). Signed-off-by: Anestis Bechtsoudis <anestis@census-labs.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d48b63db..8ce902f1 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,9 @@ else ifeq ($(OS),Darwin)
# Figure out which crash reporter to use.
CRASHWRANGLER := third_party/mac
OS_VERSION := $(shell sw_vers -productVersion)
- ifneq (,$(findstring 10.12,$(OS_VERSION)))
+ ifneq (,$(findstring 10.13,$(OS_VERSION)))
+ CRASH_REPORT := $(CRASHWRANGLER)/CrashReport_Sierra.o
+ else ifneq (,$(findstring 10.12,$(OS_VERSION)))
CRASH_REPORT := $(CRASHWRANGLER)/CrashReport_Yosemite.o
else ifneq (,$(findstring 10.11,$(OS_VERSION)))
# El Capitan didn't break compatibility