Skip to content

Commit 7d5b6ed

Browse files
ahuber21Copilot
andauthored
Include asan in C flags
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 6fcc214 commit 7d5b6ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ jobs:
5555
# address sanitizer flags
5656
cmake_extra_args: >-
5757
-DCMAKE_CXX_FLAGS='-fsanitize=address -fno-omit-frame-pointer -g'
58+
-DCMAKE_C_FLAGS='-fsanitize=address -fno-omit-frame-pointer -g'
5859
-DCMAKE_EXE_LINKER_FLAGS='-fsanitize=address'
60+
-DCMAKE_SHARED_LINKER_FLAGS='-fsanitize=address'
5961
-DSVS_BUILD_BINARIES=NO
6062
-DSVS_BUILD_EXAMPLES=NO
6163
# skip longer-running tests

0 commit comments

Comments
 (0)