From: Chia-I Wu Date: Thu, 11 Jul 2013 01:14:16 +0000 (+0800) Subject: glsl/build: build builtin_compiler with VISIBILITY_CFLAGS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93742d97571ad6d9a3569c74ecd3008c79720ac8;p=mesa.git 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 Reviewed-by: Matt Turner --- 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@