mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-22 22:28:49 +00:00
removing options "-Wl,-rpath" "LLVM_LIBDIR" when using gcc
This commit is contained in:
@ -1144,7 +1144,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
|
|||||||
|
|
||||||
if (!have_pic) { cc_params[cc_par_cnt++] = "-fPIC"; }
|
if (!have_pic) { cc_params[cc_par_cnt++] = "-fPIC"; }
|
||||||
|
|
||||||
if (!getenv("AFL_LLVM_NO_RPATH")) {
|
if (compiler_mode != GCC_PLUGIN && compiler_mode != GCC &&
|
||||||
|
!getenv("AFL_LLVM_NO_RPATH")) {
|
||||||
|
|
||||||
// in case LLVM is installed not via a package manager or "make install"
|
// in case LLVM is installed not via a package manager or "make install"
|
||||||
// e.g. compiled download or compiled from github then its ./lib directory
|
// e.g. compiled download or compiled from github then its ./lib directory
|
||||||
|
Reference in New Issue
Block a user