svn commit: r214561 - projects/binutils-2.17/libexec/rtld-elf

Dimitry Andric dim at FreeBSD.org
Sat Oct 30 16:51:26 UTC 2010


Author: dim
Date: Sat Oct 30 16:51:25 2010
New Revision: 214561
URL: http://svn.freebsd.org/changeset/base/214561

Log:
  Use -fPIC for rtld-elf, so it can link on sparc64.

Modified:
  projects/binutils-2.17/libexec/rtld-elf/Makefile

Modified: projects/binutils-2.17/libexec/rtld-elf/Makefile
==============================================================================
--- projects/binutils-2.17/libexec/rtld-elf/Makefile	Sat Oct 30 16:30:50 2010	(r214560)
+++ projects/binutils-2.17/libexec/rtld-elf/Makefile	Sat Oct 30 16:51:25 2010	(r214561)
@@ -29,7 +29,7 @@ SYMLINKS=	${BINDIR}/${PROG} /usr/libexec
 MLINKS=		rtld.1 ld-elf.so.1.1 \
 		rtld.1 ld.so.1
 
-CFLAGS+=	-fpic -DPIC
+CFLAGS+=	-fPIC -DPIC
 LDFLAGS+=	-shared -Wl,-Bsymbolic
 DPADD=		${LIBC_PIC}
 LDADD=		-lc_pic -lssp_nonshared


More information about the svn-src-projects mailing list