From df1d1ccb37c42698a3188d10b431cb4e284a100c Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Tue, 16 May 2023 10:05:03 +0200 Subject: aco: use c++17 std::map::try_emplace requires C++17, so we need to make sure we're compiling with C++17 enabled. Fixes: 8aff7152a0f ("aco: make IDSet sparse") Reviewed-by: Georg Lehmann Part-of: --- src/amd/compiler/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amd/compiler/meson.build b/src/amd/compiler/meson.build index 8016495dac9..b5b92f11d5e 100644 --- a/src/amd/compiler/meson.build +++ b/src/amd/compiler/meson.build @@ -96,6 +96,7 @@ _libaco = static_library( gnu_symbol_visibility : 'hidden', build_by_default : true, cpp_args : [cpp_args_aco, cpp_msvc_compat_args], + override_options: ['cpp_std=c++17'], ) # Also link with aco -- cgit v1.2.1