[Mesa-dev] [PATCH] clover: compile all sources with c++11

EdB edb+mesa at sigluy.net
Mon Apr 20 14:34:24 PDT 2015


Later we can remove the compat code.
---
  src/gallium/state_trackers/clover/Makefile.am | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/state_trackers/clover/Makefile.am 
b/src/gallium/state_trackers/clover/Makefile.am
index 62c13fa..54b6fff 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -3,6 +3,7 @@ AUTOMAKE_OPTIONS = subdir-objects
  include Makefile.sources

  AM_CPPFLAGS = \
+       -std=c++11 \
         $(GALLIUM_PIPE_LOADER_DEFINES) \
         -DPIPE_SEARCH_DIR=\"$(libdir)/gallium-pipe\" \
         -I$(top_srcdir)/include \
@@ -35,7 +36,6 @@ endif
  noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la

  libcltgsi_la_CXXFLAGS = \
-       -std=c++0x \
         $(VISIBILITY_CXXFLAGS)

  libcltgsi_la_SOURCES = $(TGSI_SOURCES)
@@ -51,7 +51,6 @@ libclllvm_la_CXXFLAGS = \
  libclllvm_la_SOURCES = $(LLVM_SOURCES)

  libclover_la_CXXFLAGS = \
-       -std=c++11 \
         $(VISIBILITY_CXXFLAGS)
  libclover_la_LIBADD = \
-- 
2.4.0.rc2


More information about the mesa-dev mailing list