about summary refs log tree commit diff
path: root/qemu_mode/unsigaction
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2020-04-19 00:37:23 +0200
committerhexcoder- <heiko@hexco.de>2020-04-19 00:37:23 +0200
commit724d4ec3de2e8452ebc36b13747013575c49ca21 (patch)
treeb29979102c94b0e20b75111cb2cf3cdc5b980cd6 /qemu_mode/unsigaction
parent8aa86d063a1dcf5762e3a3ee60a2e1f201d9d5ce (diff)
downloadafl++-724d4ec3de2e8452ebc36b13747013575c49ca21.tar.gz
fix some gcc dependencies and build problems on debian 32-Bit,
adapted qemu_mode AFL_ENTRYPOINT test case for 32 bit
Diffstat (limited to 'qemu_mode/unsigaction')
-rw-r--r--qemu_mode/unsigaction/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu_mode/unsigaction/Makefile b/qemu_mode/unsigaction/Makefile
index d5063dab..206a8f07 100644
--- a/qemu_mode/unsigaction/Makefile
+++ b/qemu_mode/unsigaction/Makefile
@@ -25,10 +25,10 @@ all:  $(TARGETS)
 	@if [ "$(AFL_NO_X86)" != "" ]; then echo "[!] Note: skipping compilation of unsigaction (AFL_NO_X86 set)."; fi
 
 unsigaction32.so:
-	@$(CC) -m32 -fPIC -shared unsigaction.c -o unsigaction32.so 2>/dev/null ; if [ "$$?" = "0" ]; then echo "unsigaction32 build success"; else echo "unsigaction32 build failure (that's fine)"; fi
+	@if $(CC) -m32 -fPIC -shared unsigaction.c -o unsigaction32.so 2>/dev/null ; then echo "unsigaction32 build success"; else echo "unsigaction32 build failure (that's fine)"; fi
 
 unsigaction64.so:
-	$(CC) -m64 -fPIC -shared unsigaction.c -o unsigaction64.so
+	@if $(CC) -m64 -fPIC -shared unsigaction.c -o unsigaction64.so 2>/dev/null ; then echo "unsigaction64 build success"; else echo "unsigaction64 build failure (that's fine)"; fi
 
 clean:
 	rm -f unsigaction32.so unsigaction64.so