about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-04-08 10:03:36 +0200
committervanhauser-thc <vh@thc.org>2021-04-08 10:03:44 +0200
commit9c517199b25e5fb43c38737021002249fd506ad7 (patch)
treef749ff189c00ccbcd7d327e924c2fca00795ba15 /src
parentbfe7e3fd55cc4cfc8ae334b68095e7b26b8ec8a5 (diff)
downloadafl++-9c517199b25e5fb43c38737021002249fd506ad7.tar.gz
removed -lc++ linking for lto
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index 3af31b3c..1f89bac5 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -430,9 +430,6 @@ static void edit_params(u32 argc, char **argv, char **envp) {
 
     cc_params[cc_par_cnt++] = "-Wno-unused-command-line-argument";
 
-    if (lto_mode && plusplus_mode)
-      cc_params[cc_par_cnt++] = "-lc++";  // needed by fuzzbench, early
-
     if (lto_mode && have_instr_env) {
 
       cc_params[cc_par_cnt++] = "-Xclang";