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

Signed-off-by: Emil Velikov <emil.l.veli...@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

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to