summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-07-24 12:13:40 +0200
committerFrancisco Jerez <[email protected]>2013-10-21 10:47:03 -0700
commit9a5afd0dbd5cd7d45de926da2299b5a538b9b383 (patch)
tree38f3b062ea09302b7779956d259979efe552074b /src
parent07567c17f1eae1feccf160a144fe1563599e5fc0 (diff)
clover: Make sure hidden is the default symbol visibility.
Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/clover/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index 240a2d0602b..89e76a931f5 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -19,13 +19,15 @@ endif
noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la
libcltgsi_la_CXXFLAGS = \
- -std=c++0x
+ -std=c++0x \
+ $(VISIBILITY_CFLAGS)
libcltgsi_la_SOURCES = \
tgsi/compiler.cpp
libclllvm_la_CXXFLAGS = \
-std=c++98 \
+ $(VISIBILITY_CFLAGS) \
$(LLVM_CPPFLAGS) \
$(DEFINES) \
-DLIBCLC_INCLUDEDIR=\"$(LIBCLC_INCLUDEDIR)/\" \
@@ -36,7 +38,8 @@ libclllvm_la_SOURCES = \
llvm/invocation.cpp
libclover_la_CXXFLAGS = \
- -std=c++0x
+ -std=c++0x \
+ $(VISIBILITY_CFLAGS)
libclover_la_LIBADD = \
libcltgsi.la libclllvm.la