about summary refs log tree commit diff
path: root/frida_mode/GNUmakefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-11-24 00:58:25 +0100
committerGitHub <noreply@github.com>2022-11-24 00:58:25 +0100
commit28af7cb9bdea3ff55e078464be6a0ebdd8a7fa48 (patch)
tree2ac53deecfd9774c5d146a2b8ac81b78896d7b1c /frida_mode/GNUmakefile
parent4124a272d821629adce648fb37ca1e7f0ce0e84f (diff)
parent9734d0b3c09b3d604941d43fd96454100349d8b1 (diff)
downloadafl++-28af7cb9bdea3ff55e078464be6a0ebdd8a7fa48.tar.gz
Merge pull request #1593 from WorksButNotTested/arm
Fixes to make things easier to build for ARM
Diffstat (limited to 'frida_mode/GNUmakefile')
-rw-r--r--frida_mode/GNUmakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/frida_mode/GNUmakefile b/frida_mode/GNUmakefile
index 9f2bcd42..ccc4841d 100644
--- a/frida_mode/GNUmakefile
+++ b/frida_mode/GNUmakefile
@@ -191,6 +191,9 @@ all: $(FRIDA_TRACE) $(FRIDA_TRACE_LIB) $(AFLPP_FRIDA_DRIVER_HOOK_OBJ) $(AFLPP_QE
 32:
 	CFLAGS="-m32" LDFLAGS="-m32" ARCH="x86" make all
 
+arm:
+	CFLAGS="-marm" LDFLAGS="-marm" ARCH="armhf" TARGET_CC=arm-linux-gnueabihf-gcc TARGET_CXX=arm-linux-gnueabihf-g++ make all
+
 $(BUILD_DIR):
 	mkdir -p $(BUILD_DIR)