summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-10-12 19:05:31 +0100
committerEmil Velikov <[email protected]>2016-10-14 11:09:00 +0100
commita8a5f0a0252ece806dc7d9dd34c897509d778a80 (patch)
treedbbf3d2930b6a01b2a659cf0ac5c35eda7e395e4 /src
parent753a9c989fc84e90072a40081bf304c5cb8f6edd (diff)
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 <[email protected]> Reviewed-by: Dave Airlie <[email protected]> Acked-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/amd/vulkan/Makefile.am b/src/amd/vulkan/Makefile.am
index 6eaecd8cf1b..b6f3d002543 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)