1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-29 11:24:36 +03:00

Use "a.out" as the default output filename

This commit is contained in:
Rui Ueyama 2021-03-27 17:33:02 +09:00
parent e33972d222
commit a954661d33

View File

@ -464,6 +464,6 @@ void parse_nonpositional_args(std::span<std::string_view> args,
Fatal() << "-auxiliary may not be used without -shared";
}
if (config.output == "")
Fatal() << "-o option is missing";
if (config.output.empty())
config.output = "a.out";
}