diff options
author | hexcoder- <heiko@hexco.de> | 2020-11-27 20:54:07 +0100 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-11-27 20:54:07 +0100 |
commit | d1259d09149fc1fa599240a54e146f83d54c75f6 (patch) | |
tree | f083da32f019c3271957dec578528b2387d7627f | |
parent | ded80870a933b83d8186a160f7717641ce441a81 (diff) | |
download | afl++-d1259d09149fc1fa599240a54e146f83d54c75f6.tar.gz |
add -lm, afl-fuzz-queue.c wants log2(), fix GNUmakefile syntax
-rw-r--r-- | GNUmakefile | 2 | ||||
-rw-r--r-- | GNUmakefile.llvm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 00753241..a7d8bd9b 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -417,7 +417,7 @@ src/afl-sharedmem.o : $(COMM_HDR) src/afl-sharedmem.c include/sharedmem.h $(CC) $(CFLAGS) $(CFLAGS_FLTO) -c src/afl-sharedmem.c -o src/afl-sharedmem.o afl-fuzz: $(COMM_HDR) include/afl-fuzz.h $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o | test_x86 - $(CC) $(CFLAGS) $(COMPILE_STATIC) $(CFLAGS_FLTO) $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o $@ $(PYFLAGS) $(LDFLAGS) + $(CC) $(CFLAGS) $(COMPILE_STATIC) $(CFLAGS_FLTO) $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o $@ $(PYFLAGS) $(LDFLAGS) -lm afl-showmap: src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o $(COMM_HDR) | test_x86 $(CC) $(CFLAGS) $(COMPILE_STATIC) $(CFLAGS_FLTO) src/$@.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o $@ $(LDFLAGS) diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm index 5ab998bb..4ee64dc6 100644 --- a/GNUmakefile.llvm +++ b/GNUmakefile.llvm @@ -34,7 +34,7 @@ ifeq "$(shell uname)" "OpenBSD" LLVM_CONFIG ?= $(BIN_PATH)/llvm-config HAS_OPT = $(shell test -x $(BIN_PATH)/opt && echo 0 || echo 1) ifeq "$(HAS_OPT)" "1" - $(warn llvm_mode needs a complete llvm installation (versions 3.4 up to 12) -> e.g. "pkg_add llvm-7.0.1p9") + $(warning llvm_mode needs a complete llvm installation \(versions 3.4 up to 12\) -> e.g. "pkg_add llvm-7.0.1p9") endif else LLVM_CONFIG ?= llvm-config |