Skip to content

Commit

Permalink
Use 'buildtype' to set debug/optimization options
Browse files Browse the repository at this point in the history
Until now, running `mesonconf -D buildtype=debug` didn't have any
effect - which was confusing.
  • Loading branch information
Nikratio committed Aug 22, 2017
1 parent 48cf30d commit 2a818fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -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')
Expand Down

0 comments on commit 2a818fa

Please sign in to comment.