From: Matt Turner Date: Thu, 20 Sep 2012 22:56:10 +0000 (-0700) Subject: build: Turn on visibility CFLAGS for core mesa X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=710a90ccaf6ebdaad71b5d1d3fbb3e84773271ce;p=mesa.git build: Turn on visibility CFLAGS for core mesa --- diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 8e4530da306..a76df8c306a 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -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 =