Compile nscd_setup_thread with -fpie

Andreas Jaeger aj@suse.de
Thu Sep 9 06:35:00 GMT 2004


I've noticed that this line was missing and will commit it now.
Without that change GCC 3.4 will not build nscd on AMD64 anymore.

Andreas

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

	* nscd/Makefile (CFLAGS-nscd_setup_thread.c): Set to -fpie.

============================================================
Index: nscd/Makefile
--- nscd/Makefile	8 Sep 2004 17:53:36 -0000	1.24
+++ nscd/Makefile	9 Sep 2004 06:34:53 -0000
@@ -81,6 +81,7 @@ CFLAGS-cache.c = -fpie
 CFLAGS-xmalloc.c = -fpie
 CFLAGS-xstrdup.c = -fpie
 CFLAGS-mem.c = -fpie
+CFLAGS-nscd_setup_thread.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/20040909/64cd90ed/attachment.sig>


More information about the Libc-hacker mailing list