mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Add -fsanitize-address to LIBS so that it works with XCode
This commit is contained in:
parent
5c957fdcf6
commit
d6937ddce0
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|||
NOT "$ENV{TRAVIS}" MATCHES "^true$" AND
|
||||
NOT "$ENV{EXTRA_CFLAGS}" MATCHES "-fsanitize")
|
||||
SET(MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -fsanitize=address")
|
||||
SET(LIBS ${LIBS} -fsanitize=address)
|
||||
ENDIF()
|
||||
# Uncomment to enable cleartext protocol mode (no crypto):
|
||||
#SET (MY_CMAKE_FLAGS "${MY_CMAKE_FLAGS} -DLSQUIC_ENABLE_HANDSHAKE_DISABLE=1")
|
||||
|
|
Loading…
Reference in a new issue