summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-09-27 15:35:15 -0700
committerMatt Turner <[email protected]>2012-10-01 15:23:05 -0700
commit24ded898761757ec68e8f6dbe7de1f18c0be3f63 (patch)
treec4227f4f5fe7dc83755e997c93d9e59437f52787 /src/mesa
parent1762ec28db4bfb85eeb6e61377839a3889f77216 (diff)
build: Add visibility CFLAGS to OSMesa
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/osmesa/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/osmesa/Makefile.am b/src/mesa/drivers/osmesa/Makefile.am
index 21b8dfb7638..c4b178b7495 100644
--- a/src/mesa/drivers/osmesa/Makefile.am
+++ b/src/mesa/drivers/osmesa/Makefile.am
@@ -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@[email protected]