Skip to content

Commit

Permalink
fixed compilation Command
Browse files Browse the repository at this point in the history
  • Loading branch information
polischuks committed Nov 16, 2023
1 parent 71f8193 commit 373212f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public CppExecutor(String sourceName) {

@Override
protected List<String> compilationCommand() {
return List.of("g++", "-o", filename, runnable.getFile().getName());
return List.of("g++", "-pipe", "-O2", "-static", "-o", filename, runnable.getFile().getName());
}

@Override
Expand Down

0 comments on commit 373212f

Please sign in to comment.