Skip to content

Commit 856018d

Browse files
committed
Move -pthread -lm to the end
1 parent 014723e commit 856018d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

archive/c/c-plus-plus/testinfo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ folder:
55
container:
66
image: "gcc"
77
tag: "15.2"
8-
build: "g++ -std=c++23 -pthread -lm -o {{ source.name }} {{ source.name }}{{ source.extension }}"
8+
build: "g++ -std=c++23 -o {{ source.name }} {{ source.name }}{{ source.extension }} -pthread -lm"
99
cmd: "./{{ source.name }}"

archive/c/c/testinfo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ folder:
55
container:
66
image: "gcc"
77
tag: "15.2"
8-
build: "gcc -std=c2x -pthread -lm -o {{ source.name }} {{ source.name }}{{ source.extension }}"
8+
build: "gcc -std=c2x -o {{ source.name }} {{ source.name }}{{ source.extension }} -pthread -lm"
99
cmd: "./{{ source.name }}"

0 commit comments

Comments
 (0)