From 3997b030261a79b26b4fa11ab2046f55c23a914a Mon Sep 17 00:00:00 2001 From: Reshabh kumar Sharma Date: Fri, 16 Oct 2020 04:02:29 -0400 Subject: [PATCH] Revert "SWDEV-253557 Strip debug symbols for release builds" This reverts commit 4c15a8f190d730cda9adb5879b60d1215a65f072. Reason for revert: Breaks mainline build Change-Id: Ia1fc5e5723ec688d47544cc26127b680fad59b58 --- opencl/amdocl/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/opencl/amdocl/CMakeLists.txt b/opencl/amdocl/CMakeLists.txt index c400ef52b0..116c0308ff 100644 --- a/opencl/amdocl/CMakeLists.txt +++ b/opencl/amdocl/CMakeLists.txt @@ -74,9 +74,4 @@ set(amdocl64_src add_library(amdocl64 SHARED ${amdocl64_src}) -# strip lib for release builds -if(CMAKE_BUILD_TYPE STREQUAL "Release") - add_custom_command(TARGET amdocl64 POST_BUILD COMMAND ${CMAKE_STRIP} $) -endif() - target_link_libraries(amdocl64 amdrocclr_static Threads::Threads dl ${ADDITIONAL_LIBRARIES})