diff options
author | HexRabbit <h3xrabbit@gmail.com> | 2022-05-16 16:10:07 +0800 |
---|---|---|
committer | HexRabbit <h3xrabbit@gmail.com> | 2022-05-16 16:10:07 +0800 |
commit | 4c0281adc82bfe1624d3d4b20719dded6c3030fc (patch) | |
tree | 8214a608072f56f2ca135ffb6ce50772aa08525a | |
parent | c7bb0a9638a8929a5b664f16032c23a55a84be70 (diff) | |
download | afl++-4c0281adc82bfe1624d3d4b20719dded6c3030fc.tar.gz |
Fix missing dependency
add `instrumentation/afl-llvm-common.o` to `SanitizerCoverageLTO.so`'s dependency list
-rw-r--r-- | GNUmakefile.llvm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm index 685964b7..538ca4a2 100644 --- a/GNUmakefile.llvm +++ b/GNUmakefile.llvm @@ -407,7 +407,7 @@ ifeq "$(LLVM_LTO)" "1" $(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@ endif -./SanitizerCoverageLTO.so: instrumentation/SanitizerCoverageLTO.so.cc +./SanitizerCoverageLTO.so: instrumentation/SanitizerCoverageLTO.so.cc instrumentation/afl-llvm-common.o ifeq "$(LLVM_LTO)" "1" $(CXX) $(CLANG_CPPFL) -Wno-writable-strings -fno-rtti -fPIC -std=$(LLVM_STDCXX) -shared $< -o $@ $(CLANG_LFL) instrumentation/afl-llvm-common.o $(CLANG_BIN) $(CFLAGS_SAFE) $(CPPFLAGS) -Wno-unused-result -O0 $(AFL_CLANG_FLTO) -fPIC -c instrumentation/afl-llvm-rt-lto.o.c -o ./afl-llvm-rt-lto.o |