mirror of https://github.com/PCSX2/pcsx2.git
CMake: Pass -fsanitize=address to the linker when USE_ASAN
This commit is contained in:
parent
5b44f495ee
commit
4c3df1a963
|
@ -301,6 +301,7 @@ list(APPEND PCSX2_DEFS
|
|||
|
||||
if (USE_ASAN)
|
||||
add_compile_options(-fsanitize=address)
|
||||
add_link_options(-fsanitize=address)
|
||||
list(APPEND PCSX2_DEFS ASAN_WORKAROUND)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue