amd/addrlib: hide private symbols via VISIBILITY_CXXFLAGS
authorEmil Velikov <emil.velikov@collabora.com>
Wed, 12 Oct 2016 18:05:30 +0000 (19:05 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 10:09:00 +0000 (11:09 +0100)
commit753a9c989fc84e90072a40081bf304c5cb8f6edd
tree2ccc818b3062143a4243a01b74ddbd0a65bf62c7
parent72fa5ca06d1bfb9f580953b6901467f5783bf0e4
amd/addrlib: hide private symbols via VISIBILITY_CXXFLAGS

Private/internal symbols should not be exported. Using the CXXFLAGS cuts
~300 exported symbols and ~23K from libvulkan_radeon.so.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/Makefile.addrlib.am