added output file option to clang

This commit is contained in:
Sven Vogel 2024-07-18 22:03:53 +02:00
parent 056c62acad
commit fcf5e08ef0
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,9 @@ gboolean lld_generate_link_command(TargetLinkConfig* config, char** command) {
g_string_append(commandString, g_array_index(config->object_file_names, char*, i));
}
g_string_append(commandString, " -o ");
g_string_append(commandString, config->output_file);
*command = commandString->str;
return true;