Permalink
Browse files

Pass -O2 to LLVM opt

  • Loading branch information...
1 parent 9ba8c55 commit 2d11ad4841d35c3b0eb368a1f06039460d5a3b18 @nickg committed Dec 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/link.c
View
2 src/link.c
@@ -204,7 +204,7 @@ void link_bc(tree_t top)
link_args_begin();
link_arg_f("%s/opt", LLVM_CONFIG_BINDIR);
- link_arg_f("-std-compile-opts");
+ link_arg_f("-O2");
link_arg_f("-o");
link_output(top, "bc");
link_arg_f("%s", tmp);

0 comments on commit 2d11ad4

Please sign in to comment.