Mesa (master): build: Turn on visibility CFLAGS for core mesa

Matt Turner mattst88 at kemper.freedesktop.org
Mon Oct 1 23:08:31 UTC 2012


Module: Mesa
Branch: master
Commit: 710a90ccaf6ebdaad71b5d1d3fbb3e84773271ce
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=710a90ccaf6ebdaad71b5d1d3fbb3e84773271ce

Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Sep 20 15:56:10 2012 -0700

build: Turn on visibility CFLAGS for core mesa

---

 src/mesa/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am
index 8e4530d..a76df8c 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 =




More information about the mesa-commit mailing list