From 710a90ccaf6ebdaad71b5d1d3fbb3e84773271ce Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 20 Sep 2012 15:56:10 -0700 Subject: [PATCH] build: Turn on visibility CFLAGS for core mesa --- src/mesa/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = -- 2.30.2