aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2021-05-15 12:01:03 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2021-05-15 18:45:54 +0300
commitab0b727427ce8d749ea381a492832435dabc72b0 (patch)
treece253b4a710c72a8300bcccf771f09c50868710f
parent17307789746ba8034752d4dfa2972924567dfef0 (diff)
downloadmeson-ab0b727427ce8d749ea381a492832435dabc72b0.zip
meson-ab0b727427ce8d749ea381a492832435dabc72b0.tar.gz
meson-ab0b727427ce8d749ea381a492832435dabc72b0.tar.bz2
Add gnuXX stds to Objective C.
-rw-r--r--mesonbuild/compilers/objc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/objc.py b/mesonbuild/compilers/objc.py
index ec8d290..9114f93 100644
--- a/mesonbuild/compilers/objc.py
+++ b/mesonbuild/compilers/objc.py
@@ -90,7 +90,7 @@ class ClangObjCCompiler(ClangCompiler, ObjCCompiler):
opts.update({
OptionKey('std', machine=self.for_machine, lang='c'): coredata.UserComboOption(
'C language standard to use',
- ['none', 'c89', 'c99', 'c11', 'c17'],
+ ['none', 'c89', 'c99', 'c11', 'c17', 'gnu99', 'gnu11'],
'none',
)
})