about summary refs log tree commit diff
path: root/src/afl-cc.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-02-08 18:43:23 +0100
committervanhauser-thc <vh@thc.org>2022-02-08 18:43:23 +0100
commitfa628865c1d3b8d0cc4bc04efc516fc7b48b6a69 (patch)
tree6e94fa08341cdd285a9665c9ea70220b88908904 /src/afl-cc.c
parent05a36f10ba99a461647a41433f199dd4ebc95e57 (diff)
downloadafl++-fa628865c1d3b8d0cc4bc04efc516fc7b48b6a69.tar.gz
remove debug msg
Diffstat (limited to 'src/afl-cc.c')
-rw-r--r--src/afl-cc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index 1f28b1f9..2d7e3d91 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -796,14 +796,8 @@ static void edit_params(u32 argc, char **argv, char **envp) {
     if (!strcmp(cur, "-x")) x_set = 1;
     if (!strcmp(cur, "-E")) preprocessor_only = 1;
     if (!strcmp(cur, "-shared")) shared_linking = 1;
-    if (!strcmp(cur, "--target=wasm32-wasi")) {
-
-      if (!be_quiet) { WARNF("Found '%s'!", cur); }
-      wasm_linking = 1;
-
-    }
-
     if (!strcmp(cur, "-dynamiclib")) shared_linking = 1;
+    if (!strcmp(cur, "--target=wasm32-wasi")) wasm_linking = 1;
     if (!strcmp(cur, "-Wl,-r")) partial_linking = 1;
     if (!strcmp(cur, "-Wl,-i")) partial_linking = 1;
     if (!strcmp(cur, "-Wl,--relocatable")) partial_linking = 1;