From 009da5bb824d71094c247058bcf5c6e1a650d0b7 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Wed, 23 Nov 2016 11:46:14 +0000 Subject: Use full RELRO in the client executables We could be handling untrusted content, so this seems like a good idea. --- client/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client') 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) -- cgit v1.2.1