From: Eric Fiselier Date: Wed, 12 Oct 2016 09:53:35 +0000 (+0000) Subject: support --param=std=gnu++XX X-Git-Tag: llvmorg-4.0.0-rc1~7397 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1b9327f332035fb35ddaf5159ae1ae6913f25ca8;p=platform%2Fupstream%2Fllvm.git support --param=std=gnu++XX llvm-svn: 283997 --- diff --git a/libcxx/test/libcxx/test/config.py b/libcxx/test/libcxx/test/config.py index 06d3a7b..a786c3f 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)