diff options
| author | gingerBill <bill@gingerbill.org> | 2017-11-17 20:21:58 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2017-11-17 20:21:58 +0000 |
| commit | b0e3a4e27655cff42b3645ba4be2ad3a602997b9 (patch) | |
| tree | 82574f11c3e903877b43859d653ffd4f35902191 /src/ir.cpp | |
| parent | b651466630f4a643711ac1e266db72eab2029e7f (diff) | |
`build_dll` replace with `-build-mode=dll`
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 11d3afe4d..523bbc8e3 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -7750,7 +7750,7 @@ bool ir_gen_init(irGen *s, Checker *c) { int dir_pos = cast(int)string_extension_position(init_fullpath); s->output_name = filename_from_path(init_fullpath); s->output_base = make_string(init_fullpath.text, pos); - gbFileError err = gb_file_create(&s->output_file, gb_bprintf("%.*s.ll", pos, init_fullpath.text)); + gbFileError err = gb_file_create(&s->output_file, gb_bprintf("%.*s.ll", LIT(s->output_base))); if (err != gbFileError_None) { return false; } |