Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/common Use -DPIC to compile crtbeginS.o since that's...



details:   https://anonhg.NetBSD.org/src/rev/afd391b53837
branches:  trunk
changeset: 773347:afd391b53837
user:      uwe <uwe%NetBSD.org@localhost>
date:      Tue Jan 31 19:58:22 2012 +0000

description:
Use -DPIC to compile crtbeginS.o since that's what <machine/asm.h>
headers check.

diffstat:

 lib/csu/common/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 20ee4765718d -r afd391b53837 lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Tue Jan 31 19:11:37 2012 +0000
+++ b/lib/csu/common/Makefile.inc       Tue Jan 31 19:58:22 2012 +0000
@@ -1,4 +1,5 @@
-#      $NetBSD: Makefile.inc,v 1.3 2011/01/31 17:54:20 drochner Exp $
+Warning: Permanently added the RSA host key for IP address '149.20.53.70' to the list of known hosts.
+#      $NetBSD: Makefile.inc,v 1.4 2012/01/31 19:58:22 uwe Exp $
 
 .include <bsd.own.mk>
 
@@ -23,7 +24,7 @@
 
 crtbeginS.o: crtbegin.S
        ${_MKTARGET_COMPILE}
-       ${COMPILE.S} -DSHARED ${ARCHDIR}/crtbegin.S -o ${.TARGET}.o
+       ${COMPILE.S} -DPIC -DSHARED ${ARCHDIR}/crtbegin.S -o ${.TARGET}.o
        ${LD} -x -r -o ${.TARGET} ${.TARGET}.o
        rm -f ${.TARGET}.o
 .if ${MKSTRIPIDENT} != "no"



Home | Main Index | Thread Index | Old Index