cmake: Disable sanitizers on PS Vita

This commit is contained in:
Sebastian Krzyszkowiak 2021-07-22 16:08:07 +02:00
parent 1ec6ce7550
commit f9176ce1f5
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -123,7 +123,11 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3 -s ASSERTIONS=1")
else()
if(MAEMO5 AND SANITIZERS_ARGS)
message(STATUS "Sanitizers unavailable under Maemo, disabling...")
message(STATUS "Sanitizers unavailable on Maemo, disabling...")
set(SANITIZERS_ARGS "")
endif()
if(VITA AND SANITIZERS_ARGS)
message(STATUS "Sanitizers unavailable on Vita, disabling...")
set(SANITIZERS_ARGS "")
endif()
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3")