Skip to content

Commit 9dfef60

Browse files
committed
meson: use sane default options
1 parent 7d4ba9c commit 9dfef60

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

meson.build

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
project('libspng', 'c',
22
version : '0.6.2',
33
license : [ 'BSD-2-Clause', 'libpng-2.0' ],
4-
default_options : 'c_std=c99'
4+
default_options : [
5+
'b_lto=true',
6+
'b_ndebug=if-release',
7+
'buildtype=debugoptimized',
8+
'c_std=c99',
9+
'warning_level=3',
10+
# 'werror=true',
11+
],
512
)
613

714
spng_args = []

0 commit comments

Comments
 (0)