diff options
author | Tim Rowley <[email protected]> | 2017-03-29 14:25:12 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-04-05 18:19:16 -0500 |
commit | 3c52a7316a1b968a780f387b70a17183d5bc9054 (patch) | |
tree | 3e45112c13810e662dc90d122840cc21241d5d21 /configure.ac | |
parent | e5fdfcf83666bace5330907ac39ad88817d154cb (diff) |
swr: [configure.ac/scons] require c++14
New C++ features used by upcoming swr changes.
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 74a28ac1d96..7d92b33a0fa 100644 --- a/configure.ac +++ b/configure.ac @@ -2396,10 +2396,10 @@ if test -n "$with_gallium_drivers"; then xswr) llvm_require_version $LLVM_REQUIRED_SWR "swr" - swr_require_cxx_feature_flags "C++11" "__cplusplus >= 201103L" \ - ",-std=c++11" \ - SWR_CXX11_CXXFLAGS - AC_SUBST([SWR_CXX11_CXXFLAGS]) + swr_require_cxx_feature_flags "C++14" "__cplusplus >= 201402L" \ + "-std=c++14" \ + SWR_CXX14_CXXFLAGS + AC_SUBST([SWR_CXX14_CXXFLAGS]) swr_require_cxx_feature_flags "AVX" "defined(__AVX__)" \ ",-mavx,-march=core-avx" \ |