diff options
author | Vincent Untz <vuntz@gnome.org> | 2012-02-24 13:13:17 +0100 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-04-11 13:20:47 -0400 |
commit | e267e965ac30e29cb2de1e2ba668e7d00ab5b700 (patch) | |
tree | b1365c8266524b9f1c99329494b6d9feb4545374 /src/programs | |
parent | 80a10b589fa606930b0dab2e2613e77b734d9a6b (diff) | |
download | polkit-e267e965ac30e29cb2de1e2ba668e7d00ab5b700.tar.gz |
polkitagent, pkexec: Respect SUID_CFLAGS and SUID_LDFLAGS
This is a good way for distributors to use -fPIE/-pie.
https://bugs.freedesktop.org/attachment.cgi?id=57584
Diffstat (limited to 'src/programs')
-rw-r--r-- | src/programs/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/programs/Makefile.am b/src/programs/Makefile.am index bc1b5a8..4e7273d 100644 --- a/src/programs/Makefile.am +++ b/src/programs/Makefile.am @@ -24,6 +24,7 @@ bin_PROGRAMS = pkexec pkcheck pkaction pkttyagent pkexec_SOURCES = pkexec.c pkexec_CFLAGS = \ + $(SUID_CFLAGS) \ $(GLIB_CFLAGS) \ $(AUTH_LIBS) \ $(NULL) @@ -34,6 +35,11 @@ pkexec_LDADD = \ $(top_builddir)/src/polkitagent/libpolkit-agent-1.la \ $(NULL) +pkexec_LDFLAGS = \ + $(SUID_LDFLAGS) \ + $(AM_LDFLAGS) \ + $(NULL) + # ---------------------------------------------------------------------------------------------------- pkcheck_SOURCES = pkcheck.c |