Skip to content

Commit d349215

Browse files
authored
Merge pull request #1812 from pmienk/master
Regenerate with -fprofile-update=atomic for --coverage.
2 parents 82e4ad1 + a60ed19 commit d349215

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
link: "static"
7878
cc: "gcc"
7979
cxx: "g++"
80-
flags: "--coverage"
80+
flags: "--coverage -fprofile-update=atomic"
8181
coverage: "lcov"
8282
boost: "--build-boost"
8383
secp256k1: "--build-secp256k1"

builds/cmake/CMakePresets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"hidden": true,
3737
"cacheVariables": {
3838
"CMAKE_BUILD_TYPE": "Debug",
39-
"CMAKE_C_FLAGS": "$env{CMAKE_C_FLAGS} -Og -g --coverage",
40-
"CMAKE_CXX_FLAGS": "$env{CMAKE_CXX_FLAGS} -Og -g --coverage"
39+
"CMAKE_C_FLAGS": "$env{CMAKE_C_FLAGS} -Og -g --coverage -fprofile-update=atomic",
40+
"CMAKE_CXX_FLAGS": "$env{CMAKE_CXX_FLAGS} -Og -g --coverage -fprofile-update=atomi -fprofile-update=atomic"
4141
}
4242
},
4343
{

0 commit comments

Comments
 (0)