git: f6a15156b780 - main - audio/noise-suppression-for-voice-lv2: Fix build on architectures where sanitizer isn't available
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Aug 2023 05:47:25 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f6a15156b78084c6a1157900410c808ed228133f commit f6a15156b78084c6a1157900410c808ed228133f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-08-17 05:38:04 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-08-17 05:38:04 +0000 audio/noise-suppression-for-voice-lv2: Fix build on architectures where sanitizer isn't available Reported by: fallout --- .../files/patch-src_common_CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/audio/noise-suppression-for-voice-lv2/files/patch-src_common_CMakeLists.txt b/audio/noise-suppression-for-voice-lv2/files/patch-src_common_CMakeLists.txt new file mode 100644 index 000000000000..79042b6a7a1a --- /dev/null +++ b/audio/noise-suppression-for-voice-lv2/files/patch-src_common_CMakeLists.txt @@ -0,0 +1,15 @@ +- fix build on platforms where sanitizer isn't available: armv7, aarch64, ... + +--- src/common/CMakeLists.txt.orig 2023-08-17 05:30:38 UTC ++++ src/common/CMakeLists.txt +@@ -33,8 +33,8 @@ 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) ++ #target_compile_options(common_plugin_tests PRIVATE -fsanitize=undefined) ++ #target_link_options(common_plugin_tests PRIVATE -fsanitize=undefined) + + include(CTest) + include(Catch)