Skip to content
Snippets Groups Projects
Commit f743670b authored by Emil Velikov's avatar Emil Velikov
Browse files

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: default avatarEmil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: default avatarFrancisco Jerez <currojerez@riseup.net>
parent 7b7944ee
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
{
global:
cl*;
local:
*;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment