Skip to content

Commit

Permalink
Update CppExecutor.java
Browse files Browse the repository at this point in the history
fixed compilation command
  • Loading branch information
polischuks authored Nov 16, 2023
1 parent 4fbdbb7 commit ae8aeed
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++", "-std=c++20", "-pipe", "-O2", "-static", "-o", filename, runnable.getFile().getName());
return List.of("g++", "-o", filename, runnable.getFile().getName());
}

@Override
Expand Down

0 comments on commit ae8aeed

Please sign in to comment.