mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
cmake: disable sanitizers on Maemo
This commit is contained in:
parent
3b3253ab6f
commit
a5aed4743d
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue