From 589ecd6806685ca674a6b80132eb8af947fcfb53 Mon Sep 17 00:00:00 2001 From: Julius Pfrommer Date: Sun, 7 Apr 2024 03:10:15 +0200 Subject: [PATCH] refactor(build): Disable UB sanitizer on Github. Too much dependency breakage at this time. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index aeb9ad57f04..70b02168eb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -641,7 +641,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID STREQUAL "Clang") check_add_cc_flag("-fsanitize=address") check_add_cc_flag("-fsanitize-address-use-after-scope") check_add_cc_flag("-fsanitize=leak") - check_add_cc_flag("-fsanitize=undefined") + # check_add_cc_flag("-fsanitize=undefined") endif() if(NOT MINGW AND UA_ENABLE_HARDENING AND ((CMAKE_BUILD_TYPE STREQUAL "Release") OR (CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")))