From d40a4fe366439bf4e98f49c16bb9032989ab5f1c Mon Sep 17 00:00:00 2001 From: Rick van Schijndel Date: Sat, 11 Dec 2021 15:48:58 +0100 Subject: afl-cc: fix incorrect CLANGPP_BIN This caused CMake to complain that the C compiler was set to C++ mode, causing the CMake configuration step to fail for all targets. aflplusplus was built with make source-only -j8 LLVM_BINDIR= AFL_REAL_LD= --- src/afl-cc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/afl-cc.c') diff --git a/src/afl-cc.c b/src/afl-cc.c index 1448d8ae..cafb8e32 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -395,7 +395,7 @@ static void edit_params(u32 argc, char **argv, char **envp) { snprintf(llvm_fullpath, sizeof(llvm_fullpath), "%s/clang", LLVM_BINDIR); else - snprintf(llvm_fullpath, sizeof(llvm_fullpath), CLANGPP_BIN); + snprintf(llvm_fullpath, sizeof(llvm_fullpath), CLANG_BIN); alt_cc = llvm_fullpath; } -- cgit 1.4.1