diff options
author | Drew Reed <Drew.Reed@cirrus.com> | 2020-05-11 09:08:34 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-05-16 16:36:47 +0300 |
commit | cce5f860b94e6601a99fb207b82c0d181aaf19a9 (patch) | |
tree | a6414f16b69db6fc760ebd6cc2fd7a60193dc370 /mesonbuild/compilers | |
parent | 697bb2808418cf4588c00d425278508ed982997b (diff) | |
download | meson-cce5f860b94e6601a99fb207b82c0d181aaf19a9.zip meson-cce5f860b94e6601a99fb207b82c0d181aaf19a9.tar.gz meson-cce5f860b94e6601a99fb207b82c0d181aaf19a9.tar.bz2 |
Modifed buildtypes and armcc compiler flags to match documented results
Diffstat (limited to 'mesonbuild/compilers')
-rw-r--r-- | mesonbuild/compilers/mixins/arm.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mesonbuild/compilers/mixins/arm.py b/mesonbuild/compilers/mixins/arm.py index aa5d15d..dc28aef 100644 --- a/mesonbuild/compilers/mixins/arm.py +++ b/mesonbuild/compilers/mixins/arm.py @@ -27,10 +27,10 @@ if T.TYPE_CHECKING: arm_buildtype_args = { 'plain': [], - 'debug': ['-O0', '--debug'], - 'debugoptimized': ['-O1', '--debug'], - 'release': ['-O3', '-Otime'], - 'minsize': ['-O3', '-Ospace'], + 'debug': [], + 'debugoptimized': [], + 'release': [], + 'minsize': [], 'custom': [], } # type: T.Dict[str, T.List[str]] @@ -38,9 +38,9 @@ arm_optimization_args = { '0': ['-O0'], 'g': ['-g'], '1': ['-O1'], - '2': ['-O2'], - '3': ['-O3'], - 's': [], + '2': [], # Compiler defaults to -O2 + '3': ['-O3', '-Otime'], + 's': ['-O3'], # Compiler defaults to -Ospace } # type: T.Dict[str, T.List[str]] armclang_buildtype_args = { |