From 61b07335d86a5f48475d496a14f23185964633ed Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Fri, 15 Mar 2019 07:37:20 +0100 Subject: Fix build error on !Windows. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 83397fa48..4d5384a56 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -825,7 +825,7 @@ i32 exec_llvm_opt(String output_base) { #else // NOTE(zangent): This is separate because it seems that LLVM tools are packaged // with the Windows version, while they will be system-provided on MacOS and GNU/Linux - return system_exec_command_line_app("llvm-opt", false, + return system_exec_command_line_app("llvm-opt", "opt \"%.*s.ll\" -o \"%.*s.bc\" %.*s " "", LIT(output_base), LIT(output_base), -- cgit v1.2.3