From abb59a262134987adf07b99d714efa51dcea170b Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 19 Jun 2020 21:45:09 +0300 Subject: [PATCH] Give up on UBSan for Hyperscan --- contrib/hyperscan-cmake/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/hyperscan-cmake/CMakeLists.txt b/contrib/hyperscan-cmake/CMakeLists.txt index a48d0932500..bc2f6c4e89d 100644 --- a/contrib/hyperscan-cmake/CMakeLists.txt +++ b/contrib/hyperscan-cmake/CMakeLists.txt @@ -221,6 +221,7 @@ if (ENABLE_HYPERSCAN) target_compile_options (hyperscan PRIVATE -g0 # Library has too much debug information -march=corei7 -O2 -fno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden # The options from original build system + -fno-sanitize=undefined # Assume the library takes care of itself ) target_include_directories (hyperscan PRIVATE