about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/rnnoise-plugin/disable-ubsan.patch
blob: e2c4819d141f08c82cd2b97784ba5671522c9638 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 4c2300e..273d76e 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -33,8 +33,6 @@ if (BUILD_TESTS)
             $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/external/catch2>
             $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)
     target_link_libraries(common_plugin_tests PRIVATE ${LIBRARIES})
-    target_compile_options(common_plugin_tests PRIVATE -fsanitize=undefined)
-    target_link_options(common_plugin_tests PRIVATE -fsanitize=undefined)
 
     include(CTest)
     include(Catch)