From 1b9327f332035fb35ddaf5159ae1ae6913f25ca8 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 12 Oct 2016 09:53:35 +0000 Subject: support --param=std=gnu++XX llvm-svn: 283997 --- libcxx/test/libcxx/test/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test') diff --git a/libcxx/test/libcxx/test/config.py b/libcxx/test/libcxx/test/config.py index 06d3a7bdd81..a786c3f690e 100644 --- a/libcxx/test/libcxx/test/config.py +++ b/libcxx/test/libcxx/test/config.py @@ -347,7 +347,7 @@ class Configuration(object): 'Failed to infer a supported language dialect from one of %r' % possible_stds) self.cxx.compile_flags += ['-std={0}'.format(std)] - self.config.available_features.add(std) + self.config.available_features.add(std.replace('gnu++', 'c++')) # Configure include paths self.configure_compile_flags_header_includes() self.target_info.add_cxx_compile_flags(self.cxx.compile_flags) -- cgit v1.2.3