diff options
author | Chia-I Wu <[email protected]> | 2013-07-11 09:14:16 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-07-12 09:42:25 +0800 |
commit | 93742d97571ad6d9a3569c74ecd3008c79720ac8 (patch) | |
tree | 6c7d131c7c1e9b221f9d831f0e5670e2b523048b /src/glsl | |
parent | 08c90f651b2d00ad2f1423512c9dfea346866102 (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/builtin_compiler/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/builtin_compiler/Makefile.am b/src/glsl/builtin_compiler/Makefile.am index e11a17fbed2..823d546e152 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@ |