From a8a5f0a0252ece806dc7d9dd34c897509d778a80 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 12 Oct 2016 19:05:31 +0100 Subject: [PATCH] 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 Reviewed-by: Dave Airlie Acked-by: Bas Nieuwenhuizen --- 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) -- 2.7.4