1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-20 09:27:45 +03:00

[Mach-O] Ignore -no_deduplicate

This commit is contained in:
Rui Ueyama 2021-10-27 21:15:29 +09:00
parent 6a83705a68
commit 6b02b3d9aa
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ Options:
-help Report usage information
-l<LIB> Search for a given library
-lto_library <FILE> Ignored
-no_deduplicate Ignored
-o FILE Set output filename
-platform_version <PLATFORM> <MIN_VERSION> <SDK_VERSION>
Set platform, platform version and SDK version
@ -144,6 +145,7 @@ void parse_nonpositional_args(Context &ctx,
} else if (read_arg("-lto_library")) {
} else if (read_joined("-l")) {
remaining.push_back("-l" + std::string(arg));
} else if (read_flag("-no_deduplicate")) {
} else if (read_arg("-o")) {
ctx.arg.output = arg;
} else if (read_arg3("-platform_version")) {

View File

@ -577,6 +577,7 @@ struct Context {
// Command-line arguments
struct {
bool deduplicate = true;
bool demangle = false;
bool dynamic = true;
bool fatal_warnings = false;