Fix wrong DMD optimization levels

pull/3921/head
GoaLitiuM 6 years ago committed by Jussi Pakkanen
parent 7bcd31949f
commit 12d5c6114e
  1. 8
      mesonbuild/compilers/d.py

@ -53,10 +53,10 @@ ldc_optimization_args = {'0': [],
dmd_optimization_args = {'0': [],
'g': [],
'1': ['-O1'],
'2': ['-O2'],
'3': ['-O3'],
's': ['-Os'],
'1': ['-O'],
'2': ['-O'],
'3': ['-O'],
's': ['-O'],
}
class DCompiler(Compiler):

Loading…
Cancel
Save