Mesa (master): glsl/build: build builtin_compiler with VISIBILITY_CFLAGS
Chia-I Wu
olv at kemper.freedesktop.org
Fri Jul 12 01:43:29 UTC 2013
Module: Mesa
Branch: master
Commit: 93742d97571ad6d9a3569c74ecd3008c79720ac8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93742d97571ad6d9a3569c74ecd3008c79720ac8
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu Jul 11 09:14:16 2013 +0800
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 at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
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 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@
More information about the mesa-commit
mailing list