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:
parent
e33972d222
commit
a954661d33
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user