summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2013-07-11 09:14:16 +0800
committerChia-I Wu <olvaffe@gmail.com>2013-07-12 09:42:25 +0800
commit93742d97571ad6d9a3569c74ecd3008c79720ac8 (patch)
tree6c7d131c7c1e9b221f9d831f0e5670e2b523048b /src/glsl
parent08c90f651b2d00ad2f1423512c9dfea346866102 (diff)
downloadexternal_mesa3d-93742d97571ad6d9a3569c74ecd3008c79720ac8.zip
external_mesa3d-93742d97571ad6d9a3569c74ecd3008c79720ac8.tar.gz
external_mesa3d-93742d97571ad6d9a3569c74ecd3008c79720ac8.tar.bz2
glsl/build: build builtin_compiler with VISIBILITY_CFLAGS
libglslcore.la and libglcpp.la that are built with builtin_compiler are also linked to by drivers not using libdricore. Since there is no public symbol in them, it is better to mark all symbols hidden. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/builtin_compiler/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/builtin_compiler/Makefile.am b/src/glsl/builtin_compiler/Makefile.am
index e11a17f..823d546 100644
--- a/src/glsl/builtin_compiler/Makefile.am
+++ b/src/glsl/builtin_compiler/Makefile.am
@@ -26,7 +26,8 @@ AM_CFLAGS = \
-I $(top_srcdir)/src/mesa \
-I $(GLSL_SRCDIR) \
-I $(GLSL_SRCDIR)/glcpp \
- -I $(GLSL_BUILDDIR)
+ -I $(GLSL_BUILDDIR) \
+ $(VISIBILITY_CFLAGS)
if CROSS_COMPILING
proxyCC = @CC_FOR_BUILD@