LGTM.

> -----Original Message-----
> From: Beignet [mailto:[email protected]] On Behalf Of
> Zhigang Gong
> Sent: Friday, February 27, 2015 15:57
> To: [email protected]
> Cc: Gong, Zhigang
> Subject: [Beignet] [PATCH] Build: use -Bsymbolic to fix conflicts with other
> LLVM users.
> 
> As there may be some other LLVM users such as mesa, and they may link to
> different LLVM library. To avoid such type of conflicts, we use -Bsymbolic to
> disable the symbol preemption.
> 
> This patch should fix the build bug at:
> https://bugs.freedesktop.org/show_bug.cgi?id=89325
> 
> Signed-off-by: Zhigang Gong <[email protected]>
> ---
>  CMakeLists.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/CMakeLists.txt b/CMakeLists.txt index b731973..88ff872 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -86,7 +86,7 @@ ELSE (USE_STANDALONE_GBE_COMPILER STREQUAL
> "true")  ENDIF (USE_STANDALONE_GBE_COMPILER STREQUAL "true")
> 
> 
> -set (CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined
> ${LLVM_LDFLAGS}")
> +set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}
> +-Wl,-Bsymbolic -Wl,--no-undefined ${LLVM_LDFLAGS}")
> 
>  # XLib
>  Find_Package(X11)
> --
> 1.9.1
> 
> _______________________________________________
> Beignet mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to