summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-02-08 04:06:19 +0000
committerEmil Velikov <[email protected]>2014-02-11 21:36:52 +0000
commit82cd6e6317dc9f2c66bee1fcc0521c97afcadd75 (patch)
tree9821b80dd97526248d1936486e78cc636aeb46ea /src/gallium
parent7ed32c9af948b5f724c88cefe5bb83e195c56f6a (diff)
st/clover: use VISIBILITY_CXXFLAGS where approapriate
Use the c++ visibility flags when building cpp files. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/clover/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index c79fd372a8e..ece2b384bcd 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