1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-27 10:23:41 +03:00

Ignore -nodefaultlibs

This commit is contained in:
Rui Ueyama 2021-05-10 19:23:32 +09:00
parent 76b0afc6b7
commit 4d3cc43d9f

View File

@ -631,6 +631,7 @@ void parse_nonpositional_args(Context<E> &ctx,
} else if (read_flag(args, "disable-new-dtags")) {
} else if (read_arg(ctx, args, arg, "sort-section")) {
} else if (read_flag(args, "sort-common")) {
} else if (read_flag(args, "nodefaultlibs")) {
} else if (read_arg(ctx, args, arg, "rpath-link")) {
} else if (read_arg(ctx, args, arg, "version-script")) {
remaining.push_back("--version-script");