[Mesa-dev] [PATCH] clover: Fix building with latest llvm
Bruno Jiménez
brunojimen at gmail.com
Sat Mar 1 14:51:24 PST 2014
Recently, llvm has changed to use c++11, so we also should use it
---
src/gallium/state_trackers/clover/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index ece2b38..cc9311c 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -37,7 +37,7 @@ libcltgsi_la_SOURCES = \
tgsi/compiler.cpp
libclllvm_la_CXXFLAGS = \
- -std=c++98 \
+ -std=c++11 \
$(VISIBILITY_CXXFLAGS) \
$(LLVM_CPPFLAGS) \
$(DEFINES) \
@@ -49,7 +49,7 @@ libclllvm_la_SOURCES = \
llvm/invocation.cpp
libclover_la_CXXFLAGS = \
- -std=c++0x \
+ -std=c++11 \
$(VISIBILITY_CXXFLAGS)
libclover_la_LIBADD = \
--
1.9.0
More information about the mesa-dev
mailing list