diff options
author | Drew Reed <Drew.Reed@cirrus.com> | 2020-05-11 09:11:14 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-05-22 18:28:09 +0300 |
commit | 9a94ffe0610c18559292a2334dc7bc27eecf3827 (patch) | |
tree | 946f4dde1f1e3c3cbdd4cc11e02a4069cae6355b | |
parent | eee117aa24b46d93169a92c15eb2120f2d97eea4 (diff) | |
download | meson-9a94ffe0610c18559292a2334dc7bc27eecf3827.tar.gz |
Modifed buildtypes and armclang compiler flags to match documented results
-rw-r--r-- | mesonbuild/compilers/mixins/arm.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mesonbuild/compilers/mixins/arm.py b/mesonbuild/compilers/mixins/arm.py index 2e2ed94e7..b331d8fae 100644 --- a/mesonbuild/compilers/mixins/arm.py +++ b/mesonbuild/compilers/mixins/arm.py @@ -45,20 +45,20 @@ arm_optimization_args = { armclang_buildtype_args = { 'plain': [], - 'debug': ['-O0', '-g'], - 'debugoptimized': ['-O1', '-g'], - 'release': ['-Os'], - 'minsize': ['-Oz'], + 'debug': [], + 'debugoptimized': [], + 'release': [], + 'minsize': [], 'custom': [], } # type: T.Dict[str, T.List[str]] armclang_optimization_args = { - '0': ['-O0'], + '0': [], # Compiler defaults to -O0 'g': ['-g'], '1': ['-O1'], '2': ['-O2'], '3': ['-O3'], - 's': ['-Os'] + 's': ['-Oz'] } # type: T.Dict[str, T.List[str]] |