Emil Velikov <emil.l.veli...@gmail.com> writes:

> Current automake build does not try to resolve undefined
> symbols thus we could end up with a broken library.
>
> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>

Looks good to me,
Reviewed-by: Francisco Jerez <curroje...@riseup.net>

> ---
>  src/gallium/targets/opencl/Makefile.am | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/targets/opencl/Makefile.am 
> b/src/gallium/targets/opencl/Makefile.am
> index 8eec405..91ec067 100644
> --- a/src/gallium/targets/opencl/Makefile.am
> +++ b/src/gallium/targets/opencl/Makefile.am
> @@ -4,6 +4,7 @@ lib_LTLIBRARIES = lib@OPENCL_LIBNAME@.la
>  
>  lib@OPENCL_LIBNAME@_la_LDFLAGS = \
>       $(LLVM_LDFLAGS) \
> +     -no-undefined \
>       -version-number 1:0
>  
>  lib@OPENCL_LIBNAME@_la_LIBADD = \
> -- 
> 1.9.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Attachment: pgpCWvpAJcPFZ.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to