meson: Set -DNDEBUG for all other build types than debug or debugoptimized
parent
d12e66b043
commit
97899ed045
|
@ -16,7 +16,7 @@ c_args = [
|
||||||
'-fvisibility=hidden',
|
'-fvisibility=hidden',
|
||||||
]
|
]
|
||||||
|
|
||||||
if buildtype == 'release' or buildtype == 'plain'
|
if buildtype != 'debug' and buildtype != 'debugoptimized'
|
||||||
c_args += '-DNDEBUG'
|
c_args += '-DNDEBUG'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue