at/at-3.1.8-pie.patch
cvsdist 08c5811143 auto-import changelog data from at-3.1.8-49.src.rpm
Tue Dec 09 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-49
- replace at-3.1.8-SHELL-91233.patch by at-3.1.8-SHELL-111386.patch which
    now executes $SHELL directly in the at shell script after all the
    variables have been setup with /bin/sh (#91233) [suggested by Göran
    Uddeborg]
- this changelog is now in utf-8
Fri Nov 07 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-48
- add at-3.1.8-pie.patch to build atd as pie (#108415) [Ulrich Drepper]
Fri Oct 31 2003 Dan Walsh <dwalsh@redhat.com> - 3.1.8-47.sel
Fri Jun 20 2003 Jens Petersen <petersen@redhat.com> - 3.1.8-46
- add at-3.1.8-atrun.8-typo-97697.patch to fix typo in atrun.8 (#97697)
- update at.1 description of shell behaviour (#91233)
2004-09-09 03:17:00 +00:00

21 lines
528 B
Diff

--- at-3.1.8/Makefile.in.pie 2003-10-28 23:12:43.000000000 -0800
+++ at-3.1.8/Makefile.in 2003-10-28 23:14:22.000000000 -0800
@@ -74,7 +74,7 @@
$(LN_S) -f at atrm
atd: $(RUNOBJECTS)
- $(CC) $(CFLAGS) -o atd $(RUNOBJECTS) $(LIBS) $(SELINUXLIB)
+ $(CC) $(CFLAGS) -o atd -pie $(RUNOBJECTS) $(LIBS) $(SELINUXLIB)
y.tab.c y.tab.h: parsetime.y
$(YACC) -d parsetime.y
@@ -85,6 +85,8 @@
atrun: atrun.in
configure
+$(RUNOBJECTS): %.o: %.c
+ $(CC) -c $(CFLAGS) -fpie $(DEFS) $*.c
.c.o:
$(CC) -c $(CFLAGS) $(DEFS) $*.c