diff options
author | Nomura <nomura.rh@gmail.com> | 2023-09-13 20:33:44 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-09-18 02:10:59 -0400 |
commit | e7ed45396d28105492036d38ca93c6b3f146ed4b (patch) | |
tree | 0cbf7ac5d27272c55643391b73eb85702122a4d8 | |
parent | 665275a78506b68638f4e996ef8e8b8e549d5c8f (diff) | |
download | meson-e7ed45396d28105492036d38ca93c6b3f146ed4b.zip meson-e7ed45396d28105492036d38ca93c6b3f146ed4b.tar.gz meson-e7ed45396d28105492036d38ca93c6b3f146ed4b.tar.bz2 |
Metrowerks: remove duplicate optimization args
The args were in both buildtype and optimization. This broke buildtypes other
than plain or custom unless manually setting the optimization level to
0, because Metrowerks chokes on duplicate arguments.
-rw-r--r-- | mesonbuild/compilers/mixins/metrowerks.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/compilers/mixins/metrowerks.py b/mesonbuild/compilers/mixins/metrowerks.py index 83a1c1d..69fa10a 100644 --- a/mesonbuild/compilers/mixins/metrowerks.py +++ b/mesonbuild/compilers/mixins/metrowerks.py @@ -32,10 +32,10 @@ else: mwcc_buildtype_args: T.Dict[str, T.List[str]] = { 'plain': [], - 'debug': ['-g'], - 'debugoptimized': ['-g', '-O4'], - 'release': ['-O4,p'], - 'minsize': ['-Os'], + 'debug': [], + 'debugoptimized': [], + 'release': [], + 'minsize': [], 'custom': [], } |