[sysprof/wip/chergert/mem-preload: 1/2] build: add -Wl, -z, relro -Wl, -z, defs and -Wl, -z, now link flags
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/mem-preload: 1/2] build: add -Wl, -z, relro -Wl, -z, defs and -Wl, -z, now link flags
- Date: Fri, 31 Jan 2020 17:10:35 +0000 (UTC)
commit 836892eaec4299d2a489011b058d4e6b91adc47d
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]