Skip to content

Commit

Permalink
refactor(build): Disable UB sanitizer on Github. Too much dependency …
Browse files Browse the repository at this point in the history
…breakage at this time.
  • Loading branch information
jpfr committed Apr 7, 2024
1 parent e7ea964 commit 589ecd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
Expand Down

0 comments on commit 589ecd6

Please sign in to comment.