Skip to content

Commit

Permalink
Fixed sanitizer (openvinotoolkit#6727)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov authored and akuporos committed Sep 29, 2021
1 parent 690137d commit 4991a09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion cmake/developer_package/compile_flags/os_flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion inference-engine/include/gpu/gpu_ocl_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# pragma GCC system_header
#endif

#include <CL/opencl.hpp>
#include <CL/cl2.hpp>

#ifdef __GNUC__
# pragma GCC diagnostic pop
Expand Down

0 comments on commit 4991a09

Please sign in to comment.