aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2023-01-25 08:24:34 +0000
committerYour Name <you@example.com>2023-01-25 08:24:34 +0000
commitb0898de3773d8142e68bf931d62b1668b010a9e4 (patch)
tree8461c89e05b718e5ecbeb4f6b83677348e8b0eef
parent0251b9bfd8545b8070d8e5c1294c4b1e7968dcf4 (diff)
downloadafl++-b0898de3773d8142e68bf931d62b1668b010a9e4.tar.gz
Fix FRIDA mode for OSX x64
-rw-r--r--frida_mode/GNUmakefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/frida_mode/GNUmakefile b/frida_mode/GNUmakefile
index d283c3d7..b876284f 100644
--- a/frida_mode/GNUmakefile
+++ b/frida_mode/GNUmakefile
@@ -98,6 +98,14 @@ ifeq "$(shell uname)" "Darwin"
OS:=macos
AFL_CFLAGS:=$(AFL_CFLAGS) -Wno-deprecated-declarations
GUM_ARCH:=""
+ TARGET_CC= \
+ "clang" \
+ "-target" \
+ "x86_64-apple-macos10.9"
+ TARGET_CXX= \
+ "clang++" \
+ "-target" \
+ "x86_64-apple-macos10.9"
else
ifdef DEBUG
AFL_CFLAGS:=$(AFL_CFLAGS) -Wno-prio-ctor-dtor