Mesa (master): mesa: Apply visibility flags to src/Makefile.am targets

Kristian Høgsberg krh at kemper.freedesktop.org
Wed Mar 25 05:03:52 UTC 2015


Module: Mesa
Branch: master
Commit: 169b389a34966b921fe4b75baff5503c3a31a98a
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=169b389a34966b921fe4b75baff5503c3a31a98a

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Mar 24 09:41:08 2015 -0700

mesa: Apply visibility flags to src/Makefile.am targets

We were building libglsl_util.la without our visibility flags and
leaking hash_table_* symbols.

Signed-off-by: Kristian Høgsberg <kristian.h.kristensen at intel.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

 src/Makefile.am |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 8edf333..874a333 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -55,6 +55,9 @@ endif
 
 EXTRA_DIST = egl/docs getopt hgl SConscript
 
+AM_CFLAGS = $(VISIBILITY_CFLAGS)
+AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS)
+
 AM_CPPFLAGS = \
 	-I$(top_srcdir)/include/ \
 	-I$(top_srcdir)/src/mapi/ \




More information about the mesa-commit mailing list