From 72536a22e30682729b9f734a57e03c5281c5525e Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Thu, 13 May 2004 21:53:32 +0000 Subject: enable PIE build of usernetctl --- initscripts.spec | 5 ++++- src/Makefile | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/initscripts.spec b/initscripts.spec index fa2bb99e..eab8db80 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -1,6 +1,6 @@ Summary: The inittab file and the /etc/init.d scripts. Name: initscripts -Version: 7.53 +Version: 7.54 License: GPL Group: System Environment/Base Release: 1 @@ -249,6 +249,9 @@ rm -rf $RPM_BUILD_ROOT %ghost %attr(0664,root,utmp) /var/run/utmp %changelog +* Thu May 13 2004 Than Ngo 7.54-1 +- add patch to enable PIE build of usernetctl + * Fri May 7 2004 Jeremy Katz - 7.53-1 - little lvm tweak (#121963) diff --git a/src/Makefile b/src/Makefile index 1c155765..7c1b87fa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -62,9 +62,11 @@ usleep: $(USLEEP_OBJS) ppp-watch: $(PPPWATCH_OBJS) $(CC) $(LDFLAGS) -o $@ $(PPPWATCH_OBJS) -Wl,-Bstatic `pkg-config glib-2.0 --libs` -Wl,-Bdynamic +usernetctl: usernetctl.o + $(CC) $(LDFLAGS) -o $@ $< -pie + shvar.o: shvar.c $(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c shvar.c -o shvar.o ppp-watch.o: ppp-watch.c $(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c ppp-watch.c -o ppp-watch.o - -- cgit v1.2.1