[Mesa-dev] [PATCH 20/22] st/clover: use VISIBILITY_CXXFLAGS where approapriate

Emil Velikov emil.l.velikov at gmail.com
Sat Feb 8 08:04:05 PST 2014


Use the c++ visibility flags when building cpp files.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gallium/state_trackers/clover/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index c79fd37..ece2b38 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -31,14 +31,14 @@ noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la
 
 libcltgsi_la_CXXFLAGS = \
 	-std=c++0x \
-	$(VISIBILITY_CFLAGS)
+	$(VISIBILITY_CXXFLAGS)
 
 libcltgsi_la_SOURCES = \
 	tgsi/compiler.cpp
 
 libclllvm_la_CXXFLAGS = \
 	-std=c++98 \
-	$(VISIBILITY_CFLAGS) \
+	$(VISIBILITY_CXXFLAGS) \
 	$(LLVM_CPPFLAGS) \
 	$(DEFINES) \
 	-DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
@@ -50,7 +50,7 @@ libclllvm_la_SOURCES = \
 
 libclover_la_CXXFLAGS = \
 	-std=c++0x \
-	$(VISIBILITY_CFLAGS)
+	$(VISIBILITY_CXXFLAGS)
 
 libclover_la_LIBADD = \
 	libcltgsi.la libclllvm.la
-- 
1.8.5.2



More information about the mesa-dev mailing list