[sysprof] build: add -Wl, -z, relro -Wl, -z, defs and -Wl, -z, now link flags



commit aee8bb12c8a36afe4a2601d8152f8c855e67ccd3
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jan 31 09:09:38 2020 -0800

    build: add -Wl,-z,relro -Wl,-z,defs and -Wl,-z,now link flags

 meson.build | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/meson.build b/meson.build
index be3deea..fe97c34 100644
--- a/meson.build
+++ b/meson.build
@@ -155,6 +155,9 @@ if not get_option('buildtype').startswith('debug')
   test_link_args += [
     '-Wl,-Bsymbolic',
     '-fno-plt',
+    '-Wl,-z,relro',
+    '-Wl,-z,defs',
+    '-Wl,-z,now',
   ]
 endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]