summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Reed <Drew.Reed@cirrus.com>2020-05-11 09:11:14 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2020-05-22 18:28:09 +0300
commit9a94ffe0610c18559292a2334dc7bc27eecf3827 (patch)
tree946f4dde1f1e3c3cbdd4cc11e02a4069cae6355b
parenteee117aa24b46d93169a92c15eb2120f2d97eea4 (diff)
downloadmeson-9a94ffe0610c18559292a2334dc7bc27eecf3827.tar.gz
Modifed buildtypes and armclang compiler flags to match documented results
-rw-r--r--mesonbuild/compilers/mixins/arm.py12
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]]