diff options
author | Rick van Schijndel <rol3517@gmail.com> | 2021-12-11 15:48:58 +0100 |
---|---|---|
committer | Rick van Schijndel <rol3517@gmail.com> | 2021-12-11 15:48:58 +0100 |
commit | d40a4fe366439bf4e98f49c16bb9032989ab5f1c (patch) | |
tree | e63b50b2d33bd97fa3595a2dbeb0e4aeea545463 /src | |
parent | 5ec91ad5291228f6ef6d9b69605a9b752ef28fa0 (diff) | |
download | afl++-d40a4fe366439bf4e98f49c16bb9032989ab5f1c.tar.gz |
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=
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-cc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |