X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=meson.build;h=7354953d7514c48d237a261c2dcc3c6e6c2c4ddb;hb=2f2bda4d1953617b945f1222e008cb53edee162a;hp=43ae9744ce599fa5604f4413aaac04ec1469c007;hpb=a0fbaf0889fda3788943baec80671ecc870a2925;p=tinc diff --git a/meson.build b/meson.build index 43ae9744..7354953d 100644 --- a/meson.build +++ b/meson.build @@ -20,6 +20,7 @@ opt_lz4 = get_option('lz4') opt_lzo = get_option('lzo') opt_miniupnpc = get_option('miniupnpc') opt_readline = get_option('readline') +opt_sandbox = get_option('sandbox') opt_static = get_option('static') opt_systemd = get_option('systemd') opt_tests = get_option('tests') @@ -52,7 +53,6 @@ ld_flags = [] if cc_name != 'msvc' cc_flags += [ - '-Qunused-arguments', '-Wbad-function-cast', '-Wduplicated-branches', '-Wduplicated-cond', @@ -165,3 +165,11 @@ run_target('lint', command: [ python, '@SOURCE_ROOT@/lint.py', ]) + +if meson_version.version_compare('>=0.53') + summary({ + 'prefix': prefix, + 'sandbox': cdata.has('HAVE_SANDBOX'), + 'watchdog': cdata.has('HAVE_WATCHDOG'), + }, bool_yn: true, section: 'System') +endif