build: Turn on visibility CFLAGS for core mesa
authorMatt Turner <mattst88@gmail.com>
Thu, 20 Sep 2012 22:56:10 +0000 (15:56 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 1 Oct 2012 22:23:04 +0000 (15:23 -0700)
src/mesa/Makefile.am

index 8e4530da306a86fd5cf275ab13031e13ba07066d..a76df8c306a06c229f24b521378988ed3c019928 100644 (file)
@@ -94,8 +94,8 @@ BUILDDIR = $(top_builddir)/src/mesa/
 include sources.mak
 
 AM_CPPFLAGS = $(API_DEFINES) $(DEFINES) $(INCLUDE_DIRS)
-AM_CFLAGS = $(LLVM_CFLAGS)
-AM_CXXFLAGS = $(LLVM_CFLAGS)
+AM_CFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CFLAGS)
+AM_CXXFLAGS = $(LLVM_CFLAGS) $(VISIBILITY_CXXFLAGS)
 
 # cannot just add $(MESA_ASM_FILES) to libmesa_la_SOURCES as it contains a configure substitution
 MESA_ASM_FILES_FOR_ARCH =