aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <ginger.bill.22@gmail.com>2016-08-17 11:18:38 +0100
committergingerBill <ginger.bill.22@gmail.com>2016-08-17 11:18:38 +0100
commit511f3744f695d52330651b17f1e3ef49c56b7c76 (patch)
tree88d0ae6e2053205ffa1f044dd778127683f0f7f6 /src/main.cpp
parentf17bc687a3e14343e9da0705563de81cd6bbd9cf (diff)
Fix automatic pointer deref for structures in SSA
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c7f7ce764..5abb99eb3 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -83,7 +83,8 @@ int main(int argc, char **argv) {
output_name, cast(int)base_name_len, output_name);
if (exit_code == 0) {
win32_exec_command_line_app(
- "clang %.*s.bc -o %.*s.exe -Wno-override-module "
+ "clang -o %.*s.exe %.*s.bc -Wno-override-module "
+ " ../c_libs/stb_image.c -DSTB_IMAGE_IMPLEMENTATION "
"-lkernel32.lib -luser32.lib -lgdi32.lib -lopengl32.lib",
cast(int)base_name_len, output_name,
cast(int)base_name_len, output_name);