Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Oct 2010 16:51:26 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r214561 - projects/binutils-2.17/libexec/rtld-elf
Message-ID:  <201010301651.o9UGpQXY006124@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010301651.o9UGpQXY006124>