Do not strip release builds.

Customer request.

Change-Id: Id77dcdc0b6908c7a5e460edfd7d9468a1691e351


[ROCm/ROCR-Runtime commit: fd9fb77e28]
这个提交包含在:
Sean Keely 于 2019-03-07 14:04:14 -06:00 提交
1 父节点 953355e0f7
当前提交 906c36278a
1 个文件已更改
+2 -2
@@ -171,9 +171,9 @@ target_link_libraries ( ${CORE_RUNTIME_TARGET}
elf dl pthread rt
)
## If the build is Release, strip the target library
## Strip should be optional or not at all
if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release )
add_custom_command ( TARGET ${CORE_RUNTIME_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} *.so )
# add_custom_command ( TARGET ${CORE_RUNTIME_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} *.so )
endif ()
## Create symlinks for packaging and install