diff options
author | Richard Hughes <richard@hughsie.com> | 2013-05-07 14:07:31 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-05-07 14:07:31 +0100 |
commit | efa97d515fdef37e7c20b13e1e49f82080b11625 (patch) | |
tree | b3c0dbc6a6487ac2cb2c151c193f4a81eb7882ba /tools/Makefile.am | |
parent | 61d49c3120fb5d2ce82b9871e9ce5946be0eee48 (diff) | |
download | upower-efa97d515fdef37e7c20b13e1e49f82080b11625.tar.gz |
Use PIE to better secure installed tools and also use full RELRO in the daemon
Diffstat (limited to 'tools/Makefile.am')
-rw-r--r-- | tools/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index f676bf4..dbe6724 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -1,6 +1,7 @@ ## Process this file with automake to produce Makefile.in AM_CPPFLAGS = \ + $(PIE_CFLAGS) \ -DUP_COMPILATION \ -DG_LOG_DOMAIN=\"UPower\" \ -I$(top_srcdir) \ @@ -20,7 +21,9 @@ upower_SOURCES = \ upower_CPPFLAGS = \ $(AM_CPPFLAGS) -upower_LDFLAGS = -pthread +upower_LDFLAGS = + -pthread \ + $(PIE_LDFLAGS) upower_LDADD = \ $(DBUS_GLIB_LIBS) \ |