Mesa (master): radv: correct variable name VISIBILITY_{, C}FLAGS

Emil Velikov evelikov at kemper.freedesktop.org
Fri Oct 14 10:09:40 UTC 2016


Module: Mesa
Branch: master
Commit: a8a5f0a0252ece806dc7d9dd34c897509d778a80
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=a8a5f0a0252ece806dc7d9dd34c897509d778a80

Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Wed Oct 12 19:05:31 2016 +0100

radv: correct variable name VISIBILITY_{, C}FLAGS

The letter C was missing, thus in turn all the internal symbols were
exported.

As a result we hide ~150 symbols and cut ~36K from libvulkan_radeon.so.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Reviewed-by: Dave Airlie <airlied at redhat.com>
Acked-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

---

 src/amd/vulkan/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/amd/vulkan/Makefile.am b/src/amd/vulkan/Makefile.am
index 6eaecd8..b6f3d00 100644
--- a/src/amd/vulkan/Makefile.am
+++ b/src/amd/vulkan/Makefile.am
@@ -49,7 +49,8 @@ AM_CPPFLAGS = \
 	-I$(top_srcdir)/src/gallium/auxiliary \
 	-I$(top_srcdir)/src/gallium/include
 
-AM_CFLAGS = $(VISIBILITY_FLAGS) \
+AM_CFLAGS = \
+	$(VISIBILITY_CFLAGS) \
 	$(PTHREAD_CFLAGS) \
 	$(LLVM_CFLAGS)
 




More information about the mesa-commit mailing list