Skip to content

Commit

Permalink
main: set subsystem in zig builtin when explicitly provided
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrk committed May 29, 2019
1 parent 6dbaae4 commit 9a7cf73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@ int main(int argc, char **argv) {
case CmdBuiltin: {
CodeGen *g = codegen_create(main_pkg_path, nullptr, &target,
out_type, build_mode, override_lib_dir, override_std_dir, nullptr, nullptr);
g->subsystem = subsystem;
g->valgrind_support = valgrind_support;
g->want_pic = want_pic;
g->want_stack_check = want_stack_check;
Expand Down

0 comments on commit 9a7cf73

Please sign in to comment.