aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index 442cf265..f90f62a8 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -720,10 +720,10 @@ static void edit_params(u32 argc, char **argv, char **envp) {
}
- if (!strcmp(cur, "-z")) {
+ if (!strcmp(cur, "-z") || !strcmp(cur, "-Wl,-z")) {
u8 *param = *(argv + 1);
- if (!strcmp(param, "defs")) {
+ if (!strcmp(param, "defs") || !strcmp(param, "-Wl,defs")) {
skip_next = 1;
continue;