File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ endif()
2525
2626add_compile_options (-std=c++17 -Wall -Wextra -Wpedantic -pedantic-errors -Wdeprecated
2727 -Wc++17-compat -Wconversion -Wsign-conversion -Wpessimizing-move -Werror
28- # -flto=auto
28+ -flto=auto
2929)
3030
31- # add_link_options(-flto=auto)
31+ add_link_options (-flto=auto )
3232
3333include_directories (
3434 include /
@@ -260,8 +260,8 @@ if(BUILD_TESTING)
260260 -DSCU_LOG_LEVEL=5
261261 )
262262 target_include_directories (network_framework_test PRIVATE SYSTEM ${GMOCK_INCLUDE_DIRS} )
263- target_link_libraries (network_framework_test -fsanitize=address ${GMOCK_MAIN_LIBRARIES} ${GMOCK_LIBRARIES} )
264- target_compile_options (network_framework_test PRIVATE -fsanitize=address -fno-omit-frame-pointer )
263+ target_link_libraries (network_framework_test -fsanitize=address -fsanitize=undefined ${GMOCK_MAIN_LIBRARIES} ${GMOCK_LIBRARIES} )
264+ target_compile_options (network_framework_test PRIVATE -fsanitize=address -fsanitize=undefined - fno-omit-frame-pointer )
265265
266266 target_link_libraries (test_scorpio_udp_framework
267267 buffered_file_saver
You can’t perform that action at this time.
0 commit comments