diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-12-15 22:04:00 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-12-15 22:04:00 +0100 |
commit | 2863d6205bcffc4fa3e7384d226d266b471e35c6 (patch) | |
tree | 0bccdb4f3387cbecb527429badd986e6cecb3269 | |
parent | fc1a52b1c68d60ac27809536e27cb7d32f6cbdcc (diff) | |
download | afl++-2863d6205bcffc4fa3e7384d226d266b471e35c6.tar.gz |
fix travis build errors (hopefully)
-rw-r--r-- | qemu_mode/libcompcov/Makefile | 4 | ||||
-rw-r--r-- | qemu_mode/unsigaction/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/qemu_mode/libcompcov/Makefile b/qemu_mode/libcompcov/Makefile index d078ae06..e827cbd8 100644 --- a/qemu_mode/libcompcov/Makefile +++ b/qemu_mode/libcompcov/Makefile @@ -22,7 +22,7 @@ CFLAGS ?= -O3 -funroll-loops -I ../../include/ CFLAGS += -Wall -Wno-unused-result -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign LDFLAGS += -ldl -all: libcompcov.so compcovtest +all: libcompcov.so libcompcov.so: libcompcov.so.c ../../config.h $(CC) $(CFLAGS) -shared -fPIC $< -o ../../$@ $(LDFLAGS) @@ -34,7 +34,7 @@ clean: rm -f ../../libcompcov.so compcovtest compcovtest: compcovtest.cc - $(CXX) $< -o $@ + $(CXX) -std=c++11 $< -o $@ install: all install -m 755 ../../libcompcov.so $${DESTDIR}$(HELPER_PATH) diff --git a/qemu_mode/unsigaction/Makefile b/qemu_mode/unsigaction/Makefile index 9aa96330..02dc2c79 100644 --- a/qemu_mode/unsigaction/Makefile +++ b/qemu_mode/unsigaction/Makefile @@ -18,7 +18,7 @@ ifndef AFL_NO_X86 all: lib_i386 lib_amd64 lib_i386: - $(CC) -m32 -fPIC -shared unsigaction.c -o unsigaction32.so + $(CC) -m32 -fPIC -shared unsigaction.c -o unsigaction32.so || echo "Cannot build unsigation32" lib_amd64: $(CC) -fPIC -shared unsigaction.c -o unsigaction64.so |