beautified error log when -m32 is not available on unsigaction

This commit is contained in:
Andrea Fioraldi
2019-12-18 11:05:52 +01:00
parent 64435284ce
commit 6226e38451

View File

@ -18,7 +18,7 @@ ifndef AFL_NO_X86
all: lib_i386 lib_amd64
lib_i386:
$(CC) -m32 -fPIC -shared unsigaction.c -o unsigaction32.so || echo "Cannot build unsigation32"
@$(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
lib_amd64:
$(CC) -fPIC -shared unsigaction.c -o unsigaction64.so