OpenVINO™ is an open source toolkit for optimizing and deploying AI inference
C++ aicomputer-visiondeep-learningdeploy-aidiffusion-modelsgenerative-aigood-first-issueinferencellm-inferencenatural-language-processingnlpopenvinooptimize-aiperformance-boostrecommendation-systemspeech-recognitionstable-diffusiontransformersyolo
[CMAKE] Fix symbol table stripping (#34890)
Egor Duplenskii525b9d697186
diff --git a/cmake/developer_package/compile_flags/sdl.cmake b/cmake/developer_package/compile_flags/sdl.cmakeindex b79226b7dcf..8935e8d4664 100644--- a/cmake/developer_package/compile_flags/sdl.cmake+++ b/cmake/developer_package/compile_flags/sdl.cmake@@ -27,7 +27,7 @@ if(CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG OR (UNIX AND OV_COMPILER_IS_endif()if (NOT ENABLE_SANITIZER)# Remove all symbol table and relocation information from the executable- set(OV_C_CXX_FLAGS "${OV_C_CXX_FLAGS} -s")+ set(OV_LINKER_FLAGS "${OV_LINKER_FLAGS} -s")endif()if(NOT MINGW AND NOT APPLE)set(OV_LINKER_FLAGS "${OV_LINKER_FLAGS} -z noexecstack -z relro -z now")