diff options
| author | van Hauser <vh@thc.org> | 2024-06-01 16:37:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-01 16:37:28 +0200 |
| commit | 348f980f2180a5bab745066f8c7dcd0049998626 (patch) | |
| tree | 34bb1853847ce6ee80ffe57c3ce581195be3238f /src/afl-cc.c | |
| parent | e7d871c8bf64962a658e447b90a1a3b43aaddc28 (diff) | |
| parent | ca55858aa7ecb1a4cd420e3c325fe604a5b5c30d (diff) | |
| download | afl++-348f980f2180a5bab745066f8c7dcd0049998626.tar.gz | |
Merge pull request #2108 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-cc.c')
| -rw-r--r-- | src/afl-cc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c index c872b2eb..7afab850 100644 --- a/src/afl-cc.c +++ b/src/afl-cc.c @@ -2366,8 +2366,7 @@ static void add_aflpplib(aflcc_state_t *aflcc) { insert_param(aflcc, afllib); #ifdef __APPLE__ - insert_param(aflcc, "-Wl,-undefined"); - insert_param(aflcc, "dynamic_lookup"); + insert_param(aflcc, "-Wl,-undefined,dynamic_lookup"); #endif } @@ -2844,7 +2843,7 @@ static void maybe_usage(aflcc_state_t *aflcc, int argc, char **argv) { " The best is LTO but it often needs RANLIB and AR settings outside " "of afl-cc.\n\n"); -#if LLVM_MAJOR > 10 || (LLVM_MAJOR == 10 && LLVM_MINOR > 0) +#if LLVM_MAJOR >= 11 || (LLVM_MAJOR == 10 && LLVM_MINOR > 0) #define NATIVE_MSG \ " LLVM-NATIVE: use llvm's native PCGUARD instrumentation (less " \ "performant)\n" |
