diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-04-11 18:40:54 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2022-04-13 21:11:09 +0300 |
commit | a0e7f934148e35ce309ce998028e21f6df66e5cf (patch) | |
tree | c3d166ab659d1b8670135e9527564b72f4a630b0 /mesonbuild/compilers | |
parent | 3180c579f6034fa832c1c38a4b3f53eb713f4158 (diff) | |
download | meson-a0e7f934148e35ce309ce998028e21f6df66e5cf.zip meson-a0e7f934148e35ce309ce998028e21f6df66e5cf.tar.gz meson-a0e7f934148e35ce309ce998028e21f6df66e5cf.tar.bz2 |
compilers: fix broken CompCert support for release flags
This has been broken ever since the original implementation. Due to a
typo, the optimization flag used a zero instead of an uppercase "o",
which the compiler then breaks on during argument parsing because it is
an invalid argument.
Fixes #10267
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r-- | mesonbuild/compilers/mixins/compcert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/mixins/compcert.py b/mesonbuild/compilers/mixins/compcert.py index 283c043..5e2ba0d 100644 --- a/mesonbuild/compilers/mixins/compcert.py +++ b/mesonbuild/compilers/mixins/compcert.py @@ -32,7 +32,7 @@ ccomp_buildtype_args = { 'plain': [''], 'debug': ['-O0', '-g'], 'debugoptimized': ['-O0', '-g'], - 'release': ['-03'], + 'release': ['-O3'], 'minsize': ['-Os'], 'custom': ['-Obranchless'], } # type: T.Dict[str, T.List[str]] |