Fixed sanitizer (#6727)

This commit is contained in:
Ilya Lavrenov authored and GitHub committed 2021-07-21 13:06:49 +03:00
1 parent e7a00e9b31
commit 11875c6694
2 files changed
+1 -2

No files matched your search

@@ -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()
@@ -39,7 +39,7 @@
# pragma GCC system_header
#endif
#include <CL/opencl.hpp>
#include <CL/cl2.hpp>
#ifdef __GNUC__
# pragma GCC diagnostic pop