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>
-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)