Fix nscd & -fpie

Andreas Jaeger aj@suse.de
Thu Sep 30 07:51:00 GMT 2004


The new files were not build with -fpie, committed as obvious,

Andreas

2004-09-30  Andreas Jaeger  <aj@suse.de>

	* nscd/Makefile (CFLAGS-nscd_initgroups.c): Set to -fpie.
	(CFLAGS-initgrcache.c): Likewise.

============================================================
Index: nscd/Makefile
--- nscd/Makefile	30 Sep 2004 02:20:19 -0000	1.29
+++ nscd/Makefile	30 Sep 2004 07:50:35 -0000
@@ -89,6 +89,8 @@ CFLAGS-mem.c = -fpie
 CFLAGS-nscd_setup_thread.c = -fpie
 CFLAGS-aicache.c = -fpie
 CFLAGS-selinux.c = -fpie
+CFLAGS-nscd_initgroups.c = -fpie
+CFLAGS-initgrcache.c = -fpie
 
 $(objpfx)nscd: $(addprefix $(objpfx),$(nscd-modules:=.o))
 	$(LINK.o) -pie -Wl,-O1 \

-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-hacker/attachments/20040930/caff63f2/attachment.sig>


More information about the Libc-hacker mailing list