diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-11-24 15:01:37 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-11-24 15:01:37 -0700 |
| commit | baf5167171fa0159adb8bd55c6a111b006f8c038 (patch) | |
| tree | 47f207dea456ffb79c38fbab0fac32707a4e2778 /src/codegen.cpp | |
| parent | fefbee166d68d17dd0d5904fc52f72397fb51092 (diff) | |
| download | zig-baf5167171fa0159adb8bd55c6a111b006f8c038.tar.gz zig-baf5167171fa0159adb8bd55c6a111b006f8c038.zip | |
fix not using subtarget features
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index a9e7383321..0f0f32b82f 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -423,7 +423,7 @@ void code_gen_link(CodeGen *g, bool is_static, const char *out_file) { LLVMTargetMachineRef target_machine = LLVMCreateTargetMachine(target_ref, native_triple, native_cpu, native_features, opt_level, reloc_mode, LLVMCodeModelDefault); - Buf out_file_o = {0}; + Buf out_file_o = BUF_INIT; buf_init_from_str(&out_file_o, out_file); buf_append_str(&out_file_o, ".o"); |
