diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meson.build b/meson.build index f378dcc..0b23a41 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('algos ld1', 'c', license : 'LGPL2.1', - default_options : ['c_std=gnu11', 'buildtype=release', 'warning_level=2']) + default_options : ['c_std=gnu11', 'optimization=3', 'b_lto=true', 'debug=false', 'warning_level=3']) deps = [dependency('rin', version : '>= 0.0.4')] @@ -8,9 +8,9 @@ progname = 'alg' add_project_arguments('-D', '_GNU_SOURCE', language : 'c') add_project_arguments('-fplan9-extensions', language : 'c') -add_project_arguments('-D', 'entry_field_size=' + get_option('data-bitness'), language : 'c') +add_project_arguments('-D', 'entry_field_size=' + get_option('data-bits'), language : 'c') -if get_option('data-signed').enabled() +if get_option('data-sign').enabled() add_project_arguments('-D', 'entry_field_signed', language : 'c') endif |