Add VISIBILITY_CFLAGS to automake build, so that
only required symbols are exported.

Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
---
 src/gallium/targets/gbm/Makefile.am | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/targets/gbm/Makefile.am 
b/src/gallium/targets/gbm/Makefile.am
index 4299d07..5398f11 100644
--- a/src/gallium/targets/gbm/Makefile.am
+++ b/src/gallium/targets/gbm/Makefile.am
@@ -34,6 +34,7 @@ AM_CPPFLAGS = \
 
 AM_CFLAGS = \
        $(GALLIUM_CFLAGS) \
+       $(VISIBILITY_CFLAGS) \
        $(LIBUDEV_CFLAGS) \
        $(LIBDRM_CFLAGS)
 
-- 
1.8.5.2

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to