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