mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
Merge pull request #12894 from xXPBSXx/fix/asan-skip-asan-lib
fix(build): do not build libSceAddressSanitizer in an ASan or TSan build
This commit is contained in:
1 file changed
+3
@@ -160,6 +160,9 @@ set(PATCHED_OUTPUTS ${LIBC_PATCHED})
|
||||
foreach(LIB_DIR ${LIBS_DIRS})
|
||||
if(IS_DIRECTORY ${LIB_DIR})
|
||||
get_filename_component(LIB_NAME ${LIB_DIR} NAME)
|
||||
if((ANYPS5_ENABLE_ASAN OR ANYPS5_ENABLE_TSAN) AND LIB_NAME STREQUAL "libSceAddressSanitizer")
|
||||
continue()
|
||||
endif()
|
||||
|
||||
if(EXISTS ${LIB_DIR}/CMakeLists.txt)
|
||||
set(LIBS_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
Reference in new issue
Block a user