targets/opencl: hide all the exported llvm/clang mayhem... hopefully
Both llvm and clang polute the exported symbol table, as soon as we try to link with either one. Other than those two everything else looks good (clean). Cc: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
7b7944ee1c
commit
f743670b9a
|
@ -6,6 +6,7 @@ lib@OPENCL_LIBNAME@_la_LDFLAGS = \
|
|||
$(LLVM_LDFLAGS) \
|
||||
-no-undefined \
|
||||
-version-number 1:0 \
|
||||
-Wl,--version-script=$(top_srcdir)/src/gallium/targets/opencl/opencl.sym \
|
||||
$(GC_SECTIONS) \
|
||||
$(LD_NO_UNDEFINED)
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
global:
|
||||
cl*;
|
||||
local:
|
||||
*;
|
||||
};
|
Loading…
Reference in New Issue