Skip to content

Commit 36810a5

Browse files
committed
Add -lm to C++
1 parent 9099fbe commit 36810a5

1 file changed

Lines changed: 1 addition & 1 deletion

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 -o {{ source.name }} {{ source.name }}{{ source.extension }}"
8+
build: "g++ -std=c++23 -pthread -lm -o {{ source.name }} {{ source.name }}{{ source.extension }}"
99
cmd: "./{{ source.name }}"

0 commit comments

Comments
 (0)