| 1 |
From: YOKOTA Hiroshi <[email protected]> |
| 2 |
Date: Fri, 2 Aug 2024 00:46:58 +0900 |
| 3 |
Subject: Fix wired sanitizer usage |
| 4 |
|
| 5 |
--- |
| 6 |
src/test/CMakeLists.txt | 3 +-- |
| 7 |
1 file changed, 1 insertion(+), 2 deletions(-) |
| 8 |
|
| 9 |
diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt |
| 10 |
index 81f126f..27ce373 100644 |
| 11 |
--- a/src/test/CMakeLists.txt |
| 12 |
+++ b/src/test/CMakeLists.txt |
| 13 |
@@ -54,8 +54,7 @@ else() |
| 14 |
endif() |
| 15 |
endif() |
| 16 |
add_compile_options(-fsanitize=undefined -fsanitize=address) |
| 17 |
|
| 18 |
|
| 19 |
+ add_link_options(-fsanitize=undefined -fsanitize=address) |
| 20 |
endif() |
| 21 |
|
| 22 |
if (CMAKE_SIZEOF_VOID_P EQUAL 8) |