File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -218,12 +218,12 @@ if(CMAKE_CXX_COMPILER_ID MATCHES "(GNU|Clang)")
218
218
set (COVERAGE_C_COMPILER_FLAGS "${COVERAGE_COMPILER_FLAGS} -fprofile-abs-path" )
219
219
endif ()
220
220
221
- check_cxx_compiler_flag(-fprofile-update HAVE_cxx_fprofile_update)
221
+ check_cxx_compiler_flag(-fprofile-update=atomic HAVE_cxx_fprofile_update)
222
222
if (HAVE_cxx_fprofile_update)
223
223
set (COVERAGE_CXX_COMPILER_FLAGS "${COVERAGE_COMPILER_FLAGS} -fprofile-update=atomic" )
224
224
endif ()
225
225
226
- check_c_compiler_flag(-fprofile-update HAVE_c_fprofile_update)
226
+ check_c_compiler_flag(-fprofile-update=atomic HAVE_c_fprofile_update)
227
227
if (HAVE_c_fprofile_update)
228
228
set (COVERAGE_C_COMPILER_FLAGS "${COVERAGE_COMPILER_FLAGS} -fprofile-update=atomic" )
229
229
endif ()
You can’t perform that action at this time.
0 commit comments