clover: Make sure hidden is the default symbol visibility.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 24 Jul 2013 10:13:40 +0000 (12:13 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 21 Oct 2013 17:47:03 +0000 (10:47 -0700)
Tested-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/state_trackers/clover/Makefile.am

index 240a2d0602b8b3bfc141b443fe1902529ab8309c..89e76a931f538f6db8737cc44299eedc16f8ba2d 100644 (file)
@@ -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