From 2916e5b6d0e1908d520f3fb1ec12a7daeb98bef1 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Wed, 21 Jul 2021 13:06:49 +0300 Subject: [PATCH] Fixed sanitizer (#6727) --- cmake/developer_package/compile_flags/os_flags.cmake | 1 - inference-engine/include/gpu/gpu_ocl_wrapper.hpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cmake/developer_package/compile_flags/os_flags.cmake b/cmake/developer_package/compile_flags/os_flags.cmake index 7b5cc66d3e3434..868c3455d5daea 100644 --- a/cmake/developer_package/compile_flags/os_flags.cmake +++ b/cmake/developer_package/compile_flags/os_flags.cmake @@ -319,7 +319,6 @@ else() elseif(LINUX) set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--gc-sections -Wl,--exclude-libs,ALL") set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--gc-sections -Wl,--exclude-libs,ALL") - set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--gc-sections -Wl,--exclude-libs,ALL") endif() endif() diff --git a/inference-engine/include/gpu/gpu_ocl_wrapper.hpp b/inference-engine/include/gpu/gpu_ocl_wrapper.hpp index 85ca2521a76346..496f0974ad51e1 100644 --- a/inference-engine/include/gpu/gpu_ocl_wrapper.hpp +++ b/inference-engine/include/gpu/gpu_ocl_wrapper.hpp @@ -39,7 +39,7 @@ # pragma GCC system_header #endif -#include +#include #ifdef __GNUC__ # pragma GCC diagnostic pop