From 4d7fb3e8d6b24340fe9f4217e2c2c04e9a0f3a76 Mon Sep 17 00:00:00 2001 From: Zachary Pierson Date: Tue, 21 Nov 2017 16:16:53 -0600 Subject: Changed `string_has_extension` to `string_ends_with`. Fixed macOS target triple. --- src/ir_print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ir_print.cpp') 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" : ""); } -- cgit v1.2.3