Add extra linker flags to the shared library build

Change-Id: I19e569d566fb5e25e343e364a3053a3f12659361
This commit is contained in:
scchan authored and Maneesh Gupta committed 2016-11-18 14:18:29 +05:30
1 والد 1a67766dc5
کامیت 04049feaf4
1 file changed
+1
+1
مشاهده پرونده
@@ -191,6 +191,7 @@ if(HIP_PLATFORM STREQUAL "hcc")
elseif(${HIP_LIB_TYPE} EQUAL 1)
add_library(hip_hcc STATIC ${SOURCE_FILES})
else()
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -L${HCC_HOME}/lib -lmcwamp -Wl,-Bsymbolic")
add_library(hip_hcc SHARED ${SOURCE_FILES})
endif()