mirror of
https://github.com/rui314/mold.git
synced 2024-11-11 16:58:12 +03:00
temporary
This commit is contained in:
parent
221804a046
commit
34493a51ab
5
main.cc
5
main.cc
@ -796,7 +796,9 @@ static std::function<void()> fork_child() {
|
||||
}
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
std::function<void()> on_complete = fork_child();
|
||||
std::function<void()> on_complete = []() {};
|
||||
if (std::string_view arg1 = argv[1]; arg1 != "-no-fork" && arg1 != "--no-fork")
|
||||
on_complete = fork_child();
|
||||
|
||||
// Main
|
||||
Timer t_all("all");
|
||||
@ -862,6 +864,7 @@ int main(int argc, char **argv) {
|
||||
} else if (read_arg(args, arg, "m")) {
|
||||
} else if (read_equal(args, arg, "build-id", "none")) {
|
||||
} else if (read_flag(args, "eh-frame-hdr")) {
|
||||
} else if (read_flag(args, "no-fork")) {
|
||||
} else if (read_flag(args, "start-group")) {
|
||||
} else if (read_flag(args, "end-group")) {
|
||||
} else if (read_flag(args, "fatal-warnings")) {
|
||||
|
Loading…
Reference in New Issue
Block a user