summaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/c.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2025-01-29 14:19:28 -0800
committerJussi Pakkanen <jpakkane@gmail.com>2025-02-05 17:45:38 +0200
commitb51840cf18198865e9b91f5b249e7e2e9526a604 (patch)
tree3a3b59a91699eda5bdc3e3f599c782cd3decffee /mesonbuild/compilers/c.py
parentcd5bc11bb34054131e90a79d764383d55fefa330 (diff)
downloadmeson-b51840cf18198865e9b91f5b249e7e2e9526a604.tar.gz
compilers: fix the UserStdOption name of the C and C++ compilers
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r--mesonbuild/compilers/c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py
index 8379f81ba..ddd8bed32 100644
--- a/mesonbuild/compilers/c.py
+++ b/mesonbuild/compilers/c.py
@@ -99,7 +99,7 @@ class CCompiler(CLikeCompiler, Compiler):
opts = super().get_options()
key = self.form_compileropt_key('std')
opts.update({
- key: options.UserStdOption('C', ALL_STDS),
+ key: options.UserStdOption('c', ALL_STDS),
})
return opts