diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-22 11:09:03 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-22 11:09:03 +0200 |
commit | 2a818faea50a7a6fb1bda61027edeb25db007ad0 (patch) | |
tree | f94a793f81363631d3767294fe915d340af8e16c | |
parent | 48cf30d3e2fe95426f8fd1046f381ea299ba83d9 (diff) | |
download | sshfs-2a818faea50a7a6fb1bda61027edeb25db007ad0.tar sshfs-2a818faea50a7a6fb1bda61027edeb25db007ad0.tar.gz sshfs-2a818faea50a7a6fb1bda61027edeb25db007ad0.tar.bz2 sshfs-2a818faea50a7a6fb1bda61027edeb25db007ad0.zip |
Use 'buildtype' to set debug/optimization options
Until now, running `mesonconf -D buildtype=debug` didn't have any
effect - which was confusing.
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 315f330..62a285f 100644 --- a/meson.build +++ b/meson.build @@ -1,8 +1,8 @@ project('sshfs', 'c', version: '3.2.0', meson_version: '>= 0.38', - default_options: [ 'buildtype=plain' ]) + default_options: [ 'buildtype=debugoptimized' ]) -add_global_arguments('-D_REENTRANT', '-DHAVE_CONFIG_H', '-O2', '-g', +add_global_arguments('-D_REENTRANT', '-DHAVE_CONFIG_H', '-Wall', '-Wextra', '-Wno-sign-compare', '-Wmissing-declarations', '-Wwrite-strings', language: 'c') |