aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormakise-homura <akemi_homura@kurisa.ch>2019-04-19 18:08:54 +0300
committermakise-homura <akemi_homura@kurisa.ch>2019-04-19 18:08:54 +0300
commit29267b77169cfaba82285be7504fd7692824946e (patch)
tree48abebe74cdd1247bd752b6d1021dd5637b10a17
parentd016e239326767bdc5e29f8dab3611c9a735c7a1 (diff)
downloadmeson-29267b77169cfaba82285be7504fd7692824946e.zip
meson-29267b77169cfaba82285be7504fd7692824946e.tar.gz
meson-29267b77169cfaba82285be7504fd7692824946e.tar.bz2
Add -std= remap support for Elbrus compiler
-rw-r--r--mesonbuild/compilers/cpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index 7dd6ac9..8a56cc8 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -115,8 +115,8 @@ class CPPCompiler(CCompiler):
'gnu++17': 'gnu++1z'
}
- # Currently, remapping is only supported for Clang and GCC
- assert(self.id in frozenset(['clang', 'gcc']))
+ # Currently, remapping is only supported for Clang, Elbrus and GCC
+ assert(self.id in frozenset(['clang', 'lcc', 'gcc']))
if cpp_std not in CPP_FALLBACKS:
# 'c++03' and 'c++98' don't have fallback types