diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-10-12 19:05:30 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-10-14 11:09:00 +0100 |
commit | 753a9c989fc84e90072a40081bf304c5cb8f6edd (patch) | |
tree | 2ccc818b3062143a4243a01b74ddbd0a65bf62c7 /src | |
parent | 72fa5ca06d1bfb9f580953b6901467f5783bf0e4 (diff) | |
download | external_mesa3d-753a9c989fc84e90072a40081bf304c5cb8f6edd.zip external_mesa3d-753a9c989fc84e90072a40081bf304c5cb8f6edd.tar.gz external_mesa3d-753a9c989fc84e90072a40081bf304c5cb8f6edd.tar.bz2 |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/Makefile.addrlib.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/Makefile.addrlib.am b/src/amd/Makefile.addrlib.am index 434e692..64823fc 100644 --- a/src/amd/Makefile.addrlib.am +++ b/src/amd/Makefile.addrlib.am @@ -30,6 +30,9 @@ addrlib_libamdgpu_addrlib_la_CPPFLAGS = \ -I$(srcdir)/addrlib/r800/chip \ -DBRAHMA_BUILD=1 +addrlib_libamdgpu_addrlib_la_CXXFLAGS = \ + $(VISIBILITY_CXXFLAGS) + noinst_LTLIBRARIES += $(ADDRLIB_LIBS) addrlib_libamdgpu_addrlib_la_SOURCES = $(ADDRLIB_FILES) |