diff options
| author | gingerBill <bill@gingerbill.org> | 2021-03-01 12:15:38 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-03-01 12:15:38 +0000 |
| commit | 9e0210f7f636f6b75376ad9fe385ab2cb736896b (patch) | |
| tree | 42722970ce80db4b5910258799252ab1c34c0cfb /src/main.cpp | |
| parent | 302742689b68d36e2adc49eda5f480da182d2653 (diff) | |
| parent | 6ffb4d268304fc098b05cd38a4adc9207256e16b (diff) | |
Merge branch 'master' of https://github.com/odin-lang/Odin
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5e0c564c9..6f4f45263 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2216,7 +2216,7 @@ int main(int arg_count, char const **arg_ptr) { if (build_context.cross_compiling && selected_target_metrics->metrics == &target_essence_amd64) { #ifdef GB_SYSTEM_UNIX - system_exec_command_line_app("linker", "x86_64-essence-gcc \"%.*s.o\" -o \"%.*s\" %.*s %.*s", // -ffreestanding -nostdlib + system_exec_command_line_app("linker", "x86_64-essence-gcc -ffreestanding -nostdlib \"%.*s.o\" -o \"%.*s\" %.*s %.*s", LIT(output_base), LIT(output_base), LIT(build_context.link_flags), LIT(build_context.extra_linker_flags)); #else gb_printf_err("Linking for cross compilation for this platform is not yet supported (%.*s %.*s)\n", |