Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
linphone-cmake-builder
Compare revisions
d8ded118f520e658e5e5bf8c0807a5fe804e9ebd...df1694fd18002d0b310a7a6db61085222ccb1bea
Source
BC/public/linphone-cmake-builder
Select target project
df1694fd18002d0b310a7a6db61085222ccb1bea
Select Git revision
..
..
...
Target
BC/public/linphone-cmake-builder
Select target project
BC/public/linphone-cmake-builder
d8ded118f520e658e5e5bf8c0807a5fe804e9ebd
Select Git revision
Compare
Swap revisions
Commits (1)
Fix sanitizer options for windows.
· df1694fd
Julien Wadel
authored
2 years ago
df1694fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configs/config-sanitizer.cmake
+7
-2
configs/config-sanitizer.cmake
with
7 additions
and
2 deletions
configs/config-sanitizer.cmake
View file @
df1694fd
...
@@ -7,8 +7,13 @@
...
@@ -7,8 +7,13 @@
#Old behaviour does not
#Old behaviour does not
#cmake_policy(SET CMP0056 NEW)
#cmake_policy(SET CMP0056 NEW)
set
(
sanitize_flags
"-fsanitize=address,undefined -fno-omit-frame-pointer -fno-optimize-sibling-calls"
)
if
(
MSVC
)
set
(
sanitize_linker_flags
"-fsanitize=address,undefined"
)
set
(
sanitize_flags
"/fsanitize=address /Oy-"
)
set
(
sanitize_linker_flags
""
)
else
()
set
(
sanitize_flags
"-fsanitize=address,undefined -fno-omit-frame-pointer -fno-optimize-sibling-calls"
)
set
(
sanitize_linker_flags
"-fsanitize=address,undefined"
)
endif
()
if
(
LINPHONESDK_PLATFORM STREQUAL
"Android"
OR DEFINED ANDROID
)
if
(
LINPHONESDK_PLATFORM STREQUAL
"Android"
OR DEFINED ANDROID
)
#For some (unknow) reason, when -llog is passed in the linker flags, cmake seems
#For some (unknow) reason, when -llog is passed in the linker flags, cmake seems
...
...
This diff is collapsed.
Click to expand it.
Menu
Explore
Projects
Groups
Topics
Snippets