Skip to content

Commit ae8aeed

Browse files
authored
Update CppExecutor.java
fixed compilation command
1 parent 4fbdbb7 commit ae8aeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/hyperskill/hstest/testing/execution/process/CppExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public CppExecutor(String sourceName) {
4242

4343
@Override
4444
protected List<String> compilationCommand() {
45-
return List.of("g++", "-std=c++20", "-pipe", "-O2", "-static", "-o", filename, runnable.getFile().getName());
45+
return List.of("g++", "-o", filename, runnable.getFile().getName());
4646
}
4747

4848
@Override

0 commit comments

Comments
 (0)