aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorZhe Wang <0x1998@gmail.com>2016-06-28 00:31:07 +0800
committerJussi Pakkanen <jpakkane@gmail.com>2016-06-27 19:31:07 +0300
commitbc347aed0be4d8ea6210a546fb350f7bc1eee529 (patch)
tree3c4daa1917b4488a96a8955f3b9a4a9494f27b44 /mesonbuild/compilers.py
parent35eb8c7b9a0ef755aa228619dd04f937410743c9 (diff)
downloadmeson-bc347aed0be4d8ea6210a546fb350f7bc1eee529.zip
meson-bc347aed0be4d8ea6210a546fb350f7bc1eee529.tar.gz
meson-bc347aed0be4d8ea6210a546fb350f7bc1eee529.tar.bz2
GnuCPPCompiler: allow usage of GNU extensions (#619)
* GnuCPPCompiler: allow usage of GNU extensions * Add myself to authors.txt
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r--mesonbuild/compilers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py
index 4628c74..5d94182 100644
--- a/mesonbuild/compilers.py
+++ b/mesonbuild/compilers.py
@@ -1828,7 +1828,8 @@ class GnuCPPCompiler(CPPCompiler):
def get_options(self):
opts = {'cpp_std' : coredata.UserComboOption('cpp_std', 'C++ language standard to use',
- ['none', 'c++03', 'c++11', 'c++14', 'c++1z'],
+ ['none', 'c++03', 'c++11', 'c++14', 'c++1z',
+ 'gnu++03', 'gnu++11', 'gnu++14', 'gnu++1z'],
'none'),
'cpp_debugstl': coredata.UserBooleanOption('cpp_debugstl',
'STL debug mode',