summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2017-11-07 14:31:34 +0000
committerPeter Wu <peter@lekensteyn.nl>2017-11-07 14:31:34 +0000
commitb96b94054498a97632b526ab429ea20701d58e55 (patch)
treef729de9a5b4d5f47d20f2bc6f32fc02d0099a35e
parent98c04ca24cc7d943b5fe2537a980c0b329117534 (diff)
downloadwireshark-notes-b96b94054498a97632b526ab429ea20701d58e55.tar.gz
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.
-rwxr-xr-xsync-build.sh3
1 files changed, 2 insertions, 1 deletions
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 \