From b96b94054498a97632b526ab429ea20701d58e55 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Tue, 7 Nov 2017 14:31:34 +0000 Subject: sync-build: enable ASAN/UBSAN via option, remove gcrypt option GCRYPT is enabled by default, the option is gone since 2.4. Enable the ASAN option via CMake to ensure that building lemon does not fail if detect_leaks is not set. --- sync-build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sync-build.sh b/sync-build.sh index 221c0f0..7976db0 100755 --- a/sync-build.sh +++ b/sync-build.sh @@ -132,10 +132,11 @@ if $force_cmake || [ ! -e $builddir/CMakeCache.txt ]; then -DENABLE_SBC=1 \ -DENABLE_SMI=0 \ -DENABLE_GNUTLS=1 \ - -DENABLE_GCRYPT=1 \ -DENABLE_LUA=1 \ -DCMAKE_BUILD_TYPE=Debug \ -DDISABLE_WERROR=1 \ + -DENABLE_ASAN=1 \ + -DENABLE_UBSAN=1 \ -DENABLE_EXTRA_COMPILER_WARNINGS=0 \ $remotesrcdir \ -DCMAKE_LIBRARY_PATH=$LIBDIR \ -- cgit v1.2.1