build: Add visibility CFLAGS to OSMesa
authorMatt Turner <mattst88@gmail.com>
Thu, 27 Sep 2012 22:35:15 +0000 (15:35 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 1 Oct 2012 22:23:05 +0000 (15:23 -0700)
src/mesa/drivers/osmesa/Makefile.am

index 21b8dfb763865548dd85d0890497f641cf5e60d4..c4b178b749505bbb0cf838144430c979b5f245e0 100644 (file)
@@ -27,8 +27,10 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/src/mesa/ \
        $(DEFINES) \
        $(API_DEFINES)
-AM_CFLAGS = $(PTHREAD_CFLAGS)
-AM_CXXFLAGS = $(PTHREAD_CFLAGS)
+AM_CFLAGS = $(PTHREAD_CFLAGS) \
+       $(VISIBILITY_CFLAGS)
+AM_CXXFLAGS = $(PTHREAD_CFLAGS) \
+       $(VISIBILITY_CXXFLAGS)
 
 lib_LTLIBRARIES = lib@OSMESA_LIB@.la