cmake: disable sanitizers on Maemo

This commit is contained in:
Sebastian Krzyszkowiak 2019-05-12 21:59:03 +02:00
parent 3b3253ab6f
commit a5aed4743d
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -99,6 +99,10 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g3")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3")
else()
if(MAEMO5 AND SANITIZERS_ARGS)
message(STATUS "Sanitizers unavailable under Maemo, disabling...")
set(SANITIZERS_ARGS "")
endif()
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb3")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -ggdb3")
endif()