diff --git a/meson.build b/meson.build index d70c9bf10..a98271484 100644 --- a/meson.build +++ b/meson.build @@ -96,6 +96,11 @@ test_cflags = test_common_flags + [ ] test_ldflags = [ + # make relocations read-only (hardening) + '-Wl,-z,relro', + + # no lazy binding, please - not worth it for a daemon + '-Wl,-z,now', ] if get_option('buildtype') != 'debug'