summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2017-10-18 17:05:27 +0200
committerEmil Velikov <[email protected]>2017-11-08 16:03:38 +0000
commit6905d005ef8a1530ebe851c5a639abd7d22b156b (patch)
treef7bfd0a8864988f5356fccbcabfacc2a6eebac1d /src/gallium
parent8f18528ceade31168be76edbb9fb2c09760fad21 (diff)
clover: use the unified check for c++11 instead of the gcc version number
So far clover based its test for compiler support on the version of gcc, while in reality support for c++11 is required. This patch replaces the version check by the check unified for all modules that require c++11. Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/clover/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/state_trackers/clover/Makefile.am b/src/gallium/state_trackers/clover/Makefile.am
index 321393536dc..7167bc1c5cf 100644
--- a/src/gallium/state_trackers/clover/Makefile.am
+++ b/src/gallium/state_trackers/clover/Makefile.am
@@ -31,14 +31,14 @@ endif
noinst_LTLIBRARIES = libclover.la libcltgsi.la libclllvm.la
libcltgsi_la_CXXFLAGS = \
- -std=c++11 \
+ $(CXX11_CXXFLAGS) \
$(CLOVER_STD_OVERRIDE) \
$(VISIBILITY_CXXFLAGS)
libcltgsi_la_SOURCES = $(TGSI_SOURCES)
libclllvm_la_CXXFLAGS = \
- -std=c++11 \
+ $(CXX11_CXXFLAGS) \
$(VISIBILITY_CXXFLAGS) \
$(LLVM_CXXFLAGS) \
$(CLOVER_STD_OVERRIDE) \
@@ -51,7 +51,7 @@ libclllvm_la_CXXFLAGS = \
libclllvm_la_SOURCES = $(LLVM_SOURCES)
libclover_la_CXXFLAGS = \
- -std=c++11 \
+ $(CXX11_CXXFLAGS) \
$(CLOVER_STD_OVERRIDE) \
$(VISIBILITY_CXXFLAGS)