diff options
author | Andreas Schwab <schwab@redhat.com> | 2011-05-13 23:31:43 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-13 23:31:43 -0400 |
commit | da62f81bdd23bb5095cd54c0b34ae6d5a93df69e (patch) | |
tree | 1045b2d50648b4b24cfbcda07c3929bcad2da4f3 /login/Makefile | |
parent | 20030ae6d7e7187d7caf1b23c4aa5471fcf56d47 (diff) | |
download | glibc-da62f81bdd23bb5095cd54c0b34ae6d5a93df69e.tar.gz glibc-da62f81bdd23bb5095cd54c0b34ae6d5a93df69e.tar.xz glibc-da62f81bdd23bb5095cd54c0b34ae6d5a93df69e.zip |
Add support for generated PIE link rules
Diffstat (limited to 'login/Makefile')
-rw-r--r-- | login/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/login/Makefile b/login/Makefile index beb2a5c3a8..46bde13a83 100644 --- a/login/Makefile +++ b/login/Makefile @@ -30,6 +30,7 @@ routines := getutent getutent_r getutid getutline getutid_r getutline_r \ CFLAGS-grantpt.c = -DLIBEXECDIR='"$(libexecdir)"' others = utmpdump pt_chown +others-pie = pt_chown install-others-programs = $(inst_libexecdir)/pt_chown distribute := utmp-private.h utmp-equal.h pty-private.h @@ -67,9 +68,6 @@ CFLAGS-pt_chown.c = $(pt_chown-cflags) LDLIBS-pt_chown = $(libcap) ifeq (yesyes,$(have-fpie)$(build-shared)) LDFLAGS-pt_chown = -Wl,-z,now - -$(objpfx)pt_chown: $(objpfx)pt_chown.o - $(+link-pie) endif # pt_chown needs to be setuid root. |