1# The coverage linker flag is specific for clang.
2if (CONFIG_COVERAGE_NATIVE_GCOV)
3  set_property(TARGET linker PROPERTY coverage --coverage)
4elseif(CONFIG_COVERAGE_NATIVE_SOURCE)
5  set_property(TARGET linker PROPERTY coverage -fprofile-instr-generate -fcoverage-mapping)
6endif()
7
8# Extra warnings options for twister run
9set_property(TARGET linker PROPERTY ld_extra_warning_options -Wl,--fatal-warnings)
10