2020-08-18 20:47:53 +08:00
|
|
|
# The coverage linker flag is specific for clang.
|
|
|
|
if (NOT CONFIG_COVERAGE_GCOV)
|
|
|
|
set_property(TARGET linker PROPERTY coverage --coverage)
|
|
|
|
endif()
|
2022-12-22 19:46:04 +08:00
|
|
|
|
|
|
|
# Extra warnings options for twister run
|
|
|
|
set_property(TARGET linker PROPERTY ld_extra_warning_options -Wl,--fatal-warnings)
|