diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2017-11-21 22:33:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-21 22:33:39 +0000 |
| commit | 425f83b17d1c15b7486a5f321ad9bfae405f07fa (patch) | |
| tree | 946dfa7862e10ab3a9b00f885f52b8f2d463c671 /src/ir_print.cpp | |
| parent | 976415ff9df68ef8b6ecd06d271bef14d63ea90c (diff) | |
| parent | 4d7fb3e8d6b24340fe9f4217e2c2c04e9a0f3a76 (diff) | |
Merge pull request #150 from zangent/master
Changed `string_has_extension` to `string_ends_with` and fix 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" : ""); } |