summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-11-23 11:46:14 +0000
committerRichard Hughes <richard@hughsie.com>2016-11-23 11:46:14 +0000
commit009da5bb824d71094c247058bcf5c6e1a650d0b7 (patch)
tree1838449c5454c78d16015bbf0e2c2a5004ecd01f /client
parented4b3632fd504f4a94f0781372e6df97a3f0d362 (diff)
downloadappstream-glib-009da5bb824d71094c247058bcf5c6e1a650d0b7.tar.gz
Use full RELRO in the client executables
We could be handling untrusted content, so this seems like a good idea.
Diffstat (limited to 'client')
-rw-r--r--client/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/Makefile.am b/client/Makefile.am
index a363d90..6c0647f 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -38,6 +38,7 @@ appstream_util_LDADD = \
$(SOUP_LIBS) \
$(LIBARCHIVE_LIBS)
appstream_util_LDFLAGS = \
+ $(RELRO_LDFLAGS) \
$(PIE_LDFLAGS)
appstream_util_CFLAGS = \
$(WARN_CFLAGS)
@@ -53,6 +54,7 @@ appstream_builder_LDADD = \
$(SOUP_LIBS) \
$(LIBARCHIVE_LIBS)
appstream_builder_LDFLAGS = \
+ $(RELRO_LDFLAGS) \
$(PIE_LDFLAGS)
appstream_builder_CFLAGS = \
$(WARN_CFLAGS)
@@ -67,6 +69,7 @@ appstream_compose_LDADD = \
$(GDKPIXBUF_LIBS) \
$(LIBARCHIVE_LIBS)
appstream_compose_LDFLAGS = \
+ $(RELRO_LDFLAGS) \
$(PIE_LDFLAGS)
appstream_compose_CFLAGS = \
$(WARN_CFLAGS)