projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add tests for network commands
[tinc]
/
meson.build
diff --git
a/meson.build
b/meson.build
index
43ae974
..
7354953
100644
(file)
--- 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_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')
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 += [
if cc_name != 'msvc'
cc_flags += [
- '-Qunused-arguments',
'-Wbad-function-cast',
'-Wduplicated-branches',
'-Wduplicated-cond',
'-Wbad-function-cast',
'-Wduplicated-branches',
'-Wduplicated-cond',
@@
-165,3
+165,11
@@
run_target('lint', command: [
python,
'@SOURCE_ROOT@/lint.py',
])
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