From 1abe87383e1529a14498d70a0cf445728b9c338d Mon Sep 17 00:00:00 2001 From: Kai Wasserbäch Date: Sat, 17 Aug 2019 10:59:43 +0200 Subject: build: Bump C++ standard requirement to C++14 to fix FTBFS with LLVM 10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When building Mesa against a recent LLVM 10 with C++11, the build fails if the AMD common code is built as well due to "std::index_sequence" being undeclared. LLVM requires a minimum of C++14. Signed-off-by: Kai Wasserbäch Acked-by: Eric Engestrom --- src/gallium/drivers/swr/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/swr/SConscript b/src/gallium/drivers/swr/SConscript index 2236b1aa5de..61432a0c342 100644 --- a/src/gallium/drivers/swr/SConscript +++ b/src/gallium/drivers/swr/SConscript @@ -32,7 +32,7 @@ else: if not env['msvc'] : env.Append(CCFLAGS = [ - '-std=c++11', + '-std=c++14', ]) swrroot = '#src/gallium/drivers/swr/' -- cgit v1.2.3