arch posix: pass -fsanitize-recover=all also to native_simulator build
If the CONFIG_ASAN_RECOVER option is set, also pass -fsanitize-recover=all to the build of the native simulator built files. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
1fcc245eda
commit
b59b21f8bb
|
@ -171,6 +171,7 @@ endif()
|
|||
|
||||
if(CONFIG_ASAN_RECOVER)
|
||||
zephyr_compile_options(-fsanitize-recover=all)
|
||||
target_compile_options(native_simulator INTERFACE "-fsanitize-recover=all")
|
||||
endif()
|
||||
|
||||
if(CONFIG_ARCH_POSIX_LIBFUZZER)
|
||||
|
|
Loading…
Reference in a new issue