Modifed buildtypes and armclang compiler flags to match documented results

pull/7187/head
Drew Reed 5 years ago committed by Jussi Pakkanen
parent eee117aa24
commit 9a94ffe061
  1. 12
      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]]

Loading…
Cancel
Save