From 82cd6e6317dc9f2c66bee1fcc0521c97afcadd75 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sat, 8 Feb 2014 04:06:19 +0000 Subject: [PATCH] st/clover: use VISIBILITY_CXXFLAGS where approapriate Use the c++ visibility flags when building cpp files. Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- 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 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 -- 2.30.2