mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-08 16:21:32 +00:00
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=
This commit is contained in:
parent
5ec91ad529
commit
d40a4fe366
@ -395,7 +395,7 @@ static void edit_params(u32 argc, char **argv, char **envp) {
|
|||||||
snprintf(llvm_fullpath, sizeof(llvm_fullpath), "%s/clang",
|
snprintf(llvm_fullpath, sizeof(llvm_fullpath), "%s/clang",
|
||||||
LLVM_BINDIR);
|
LLVM_BINDIR);
|
||||||
else
|
else
|
||||||
snprintf(llvm_fullpath, sizeof(llvm_fullpath), CLANGPP_BIN);
|
snprintf(llvm_fullpath, sizeof(llvm_fullpath), CLANG_BIN);
|
||||||
alt_cc = llvm_fullpath;
|
alt_cc = llvm_fullpath;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user