Mesa (master): build: Build src/glsl with visibility CFLAGS

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


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

Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Sep 27 13:13:25 2012 -0700

build: Build src/glsl with visibility CFLAGS

---

 src/glsl/Makefile.am |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am
index 20639c9..1ecc003 100644
--- a/src/glsl/Makefile.am
+++ b/src/glsl/Makefile.am
@@ -23,7 +23,7 @@
 # builtin_compiler is built before libglsl to generate builtin_function.cpp for libglsl.
 # For this to work, a dummy version of builtin_function.cpp, builtin_stubs.cpp, is used.
 
-AM_CFLAGS = \
+AM_CPPFLAGS = \
 	-I$(top_srcdir)/include \
 	-I$(top_srcdir)/src/mapi \
 	-I$(top_srcdir)/src/mesa/ \
@@ -31,8 +31,8 @@ AM_CFLAGS = \
 	$(DEFINES) \
 	$(LIBRARY_DEFINES) \
 	$(API_DEFINES)
-
-AM_CXXFLAGS = $(AM_CFLAGS)
+AM_CFLAGS = $(VISIBILITY_CFLAGS)
+AM_CXXFLAGS = $(VISIBILITY_CXXFLAGS)
 
 AM_LFLAGS = --nounistd -o$(LEX_OUTPUT_ROOT).c
 




More information about the mesa-commit mailing list