diff options
author | Richard Hughes <richard@hughsie.com> | 2013-05-07 10:37:04 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-05-07 10:50:06 +0100 |
commit | 8020696cd5ddcb9a07c419356d96d2aabd9dd3ba (patch) | |
tree | 5c63a8ab10cab313718e95192f8f47446c0700d7 /contrib/session-helper | |
parent | 3014efdf15edb6dde422e22878fef3cc3e3cd397 (diff) | |
download | colord-8020696cd5ddcb9a07c419356d96d2aabd9dd3ba.tar.gz |
Build all installed binaries with PIE
Position Independent Executable adds security to executables by composing them
entirely of position-independent code. This for allows Exec Shield to use
ASLR to prevent attackers from knowing where existing executable code is.
Diffstat (limited to 'contrib/session-helper')
-rw-r--r-- | contrib/session-helper/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/session-helper/Makefile.am b/contrib/session-helper/Makefile.am index 2068699..b2d1679 100644 --- a/contrib/session-helper/Makefile.am +++ b/contrib/session-helper/Makefile.am @@ -3,6 +3,7 @@ dist_introspection_DATA = \ org.freedesktop.ColorHelper.xml AM_CPPFLAGS = \ + $(PIE_CFLAGS) \ -I$(top_srcdir)/lib \ $(COLORD_GTK_CFLAGS) \ $(GLIB_CFLAGS) \ @@ -46,6 +47,9 @@ colord_session_LDADD = \ $(GLIB_LIBS) \ -lm +colord_session_LDFLAGS = \ + $(PIE_LDFLAGS) + colord_session_CFLAGS = \ $(WARNINGFLAGS_C) |