aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-10-10 00:21:55 +0200
committervan Hauser <vh@thc.org>2020-10-10 00:21:55 +0200
commit1ab83d7d893e6d8259e3212316a4b0912b630b22 (patch)
tree0613d79045931f87929d0d7084a58a52f0b3998c
parentcbf8212fe09da6874013637d27237e65df1c813c (diff)
downloadafl++-1ab83d7d893e6d8259e3212316a4b0912b630b22.tar.gz
fix afl-cc build for no llvm present
-rw-r--r--GNUmakefile.llvm4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm
index c0790b4a..e0dc793e 100644
--- a/GNUmakefile.llvm
+++ b/GNUmakefile.llvm
@@ -359,6 +359,8 @@ instrumentation/afl-common.o: ./src/afl-common.c
@ln -sf afl-cc ./afl-c++
@ln -sf afl-cc ./afl-gcc
@ln -sf afl-cc ./afl-g++
+ @ln -sf afl-cc ./afl-clang-fast
+ @ln -sf afl-cc ./afl-clang-fast++
ifneq "$(AFL_CLANG_FLTO)" ""
ifeq "$(LLVM_LTO)" "1"
@ln -sf afl-cc ./afl-clang-lto
@@ -379,8 +381,6 @@ ifeq "$(LLVM_MIN_4_0_1)" "0"
$(info [!] N-gram branch coverage instrumentation is not available for llvm version $(LLVMVER))
endif
$(CXX) $(CLANG_CPPFL) -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=$(LLVM_STDCXX) -shared $< -o $@ $(CLANG_LFL) instrumentation/afl-llvm-common.o
- @ln -sf afl-cc ./afl-clang-fast
- @ln -sf afl-cc ./afl-clang-fast++
./afl-llvm-lto-instrumentlist.so: instrumentation/afl-llvm-lto-instrumentlist.so.cc instrumentation/afl-llvm-common.o
ifeq "$(LLVM_LTO)" "1"