diff options
| author | vanhauser-thc <vh@thc.org> | 2022-03-29 10:34:08 +0200 | 
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2022-03-29 10:34:08 +0200 | 
| commit | b34751efbf9304128d8e52dfeeb3abe0d4f5ba3b (patch) | |
| tree | c28249a5ee77976ff3786e919400d13c7528ed31 /qemu_mode | |
| parent | d2ea1141ebef090b9763b73ef935d6fc45f4a2d7 (diff) | |
| download | afl++-b34751efbf9304128d8e52dfeeb3abe0d4f5ba3b.tar.gz | |
fix qemu sigunaction tests
Diffstat (limited to 'qemu_mode')
| -rw-r--r-- | qemu_mode/unsigaction/Makefile | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/qemu_mode/unsigaction/Makefile b/qemu_mode/unsigaction/Makefile index eabe6c77..f026a2b7 100644 --- a/qemu_mode/unsigaction/Makefile +++ b/qemu_mode/unsigaction/Makefile @@ -12,19 +12,19 @@ # # http://www.apache.org/licenses/LICENSE-2.0 # -.POSIX: -_UNIQ=_QINU_ - -TARGETCANDIDATES=unsigaction.so -_TARGETS=$(_UNIQ)$(AFL_NO_X86)$(_UNIQ) -__TARGETS=$(_TARGETS:$(_UNIQ)1$(_UNIQ)=) -TARGETS=$(__TARGETS:$(_UNIQ)$(_UNIQ)=$(TARGETCANDIDATES)) +TARGETS=unsigaction.so unsigaction32.so unsigaction64.so all: $(TARGETS) unsigaction.so: unsigaction.c @if $(CC) -fPIC -shared unsigaction.c -o unsigaction.so 2>/dev/null ; then echo "unsigaction build success"; else echo "unsigaction build failure (that's fine)"; fi +unsigaction32.so: unsigaction.c + @if $(CC) -fPIC -m32 -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: unsigaction.c + @if $(CC) -fPIC -m64 -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 unsigaction.so | 
