diff options
| author | Zachary Pierson <zacpiersonhehe@gmail.com> | 2017-11-21 16:16:53 -0600 |
|---|---|---|
| committer | Zachary Pierson <zacpiersonhehe@gmail.com> | 2017-11-21 16:16:53 -0600 |
| commit | 4d7fb3e8d6b24340fe9f4217e2c2c04e9a0f3a76 (patch) | |
| tree | e92e186e152551cf804642361ac7e69e042b3897 /src/ir_print.cpp | |
| parent | bcca3bf3221e1b83f804029e53855cbfc2450baf (diff) | |
Changed `string_has_extension` to `string_ends_with`.
Fixed macOS target triple.
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 48ca2e1cb..0c84b3567 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -1860,7 +1860,7 @@ void print_llvm_ir(irGen *ir) { i32 word_bits = cast(i32)(8*build_context.word_size); if (build_context.ODIN_OS == "osx" || build_context.ODIN_OS == "macos") { GB_ASSERT(word_bits == 64); - ir_write_string(f, "target triple = x86_64-apple-macosx10.8\n\n"); + ir_write_string(f, "target triple = \"x86_64-apple-macosx10.8\"\n\n"); } else if (build_context.ODIN_OS == "windows") { // ir_fprintf(f, "target triple = \"x86%s-pc-windows\"\n\n", word_bits == 64 ? "_64" : ""); } |