diff options
| author | Zachary Pierson <zacpiersonhehe@gmail.com> | 2017-04-02 18:46:31 -0500 |
|---|---|---|
| committer | Zachary Pierson <zacpiersonhehe@gmail.com> | 2017-04-02 18:46:31 -0500 |
| commit | 642256f9ba580de65121215ff76b4d8498e18607 (patch) | |
| tree | 1dbc360345578891243ddbbfbd639b5c85a5f1fd /src/main.c | |
| parent | c9c82da1f3d809b1638daeddf9f1f7dfe9866eb5 (diff) | |
I accidentally left debug stuff (like abs paths) in! Whoops!
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c index 17ea379a0..ccc2b4c3b 100644 --- a/src/main.c +++ b/src/main.c @@ -261,7 +261,7 @@ int main(int argc, char **argv) { #if defined(GB_SYSTEM_WINDOWS) // For more passes arguments: http://llvm.org/docs/Passes.html exit_code = system_exec_command_line_app("llvm-opt", false, - "\"%.*sbin/opt\" \"%s\" -o \"%.*s.bc\" " + "\"%.*sbin/opt\" \"%s\" -o \"%.*s\".bc " "-mem2reg " "-memcpyopt " "-die " @@ -278,7 +278,7 @@ int main(int argc, char **argv) { // 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 exit_code = system_exec_command_line_app("llvm-opt", false, - "/usr/local/opt/llvm/bin/opt \"%s\" -o \"%.*s\".bc " + "opt \"%s\" -o \"%.*s\".bc " "-mem2reg " "-memcpyopt " "-die " @@ -365,7 +365,7 @@ int main(int argc, char **argv) { timings_start_section(&timings, str_lit("llvm-llc")); // For more arguments: http://llvm.org/docs/CommandGuide/llc.html exit_code = system_exec_command_line_app("llc", false, - "/usr/local/opt/llvm/bin/llc \"%.*s.bc\" -filetype=obj -O%d " + "llc \"%.*s.bc\" -filetype=obj -O%d " "%.*s " // "-debug-pass=Arguments " "", @@ -424,7 +424,7 @@ int main(int argc, char **argv) { } #if defined(GB_SYSTEM_OSX) - linker = "/usr/bin/ld"; + linker = "ld"; #else // TODO(zangent): Figure out how to make ld work on Linux. // It probably has to do with including the entire CRT, but |