about summary refs log tree commit diff
path: root/frida_mode/test/testinstr
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/test/testinstr
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/test/testinstr')
-rw-r--r--frida_mode/test/testinstr/GNUmakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/frida_mode/test/testinstr/GNUmakefile b/frida_mode/test/testinstr/GNUmakefile
index 79eee213..ebc0b2dc 100644
--- a/frida_mode/test/testinstr/GNUmakefile
+++ b/frida_mode/test/testinstr/GNUmakefile
@@ -18,6 +18,9 @@ all: $(TESTINSTBIN)
 32:
 	CFLAGS="-m32" LDFLAGS="-m32" ARCH="x86" make all
 
+arm:
+	CFLAGS="-marm" LDFLAGS="-marm" CC="arm-linux-gnueabihf-gcc" CXX="arm-linux-gnueabihf-g++" make $(TESTINSTBIN)
+
 $(BUILD_DIR):
 	mkdir -p $@