mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Add -lm linking flag.
This commit is contained in:
@@ -174,6 +174,7 @@ void platform_linker(const char *output_file, const char **files, unsigned file_
|
||||
{
|
||||
const char **parts = NULL;
|
||||
vec_add(parts, "cc");
|
||||
vec_add(parts, "-lm");
|
||||
vec_add(parts, "-o");
|
||||
vec_add(parts, output_file);
|
||||
for (unsigned i = 0; i < file_count; i++)
|
||||
|
||||
Reference in New Issue
Block a user