Source-Changes-HG archive

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

[src/trunk]: src/lib/csu/common Add -fPIC to compile of crtbeginS.o



details:   https://anonhg.NetBSD.org/src/rev/2d91275420fa
branches:  trunk
changeset: 787632:2d91275420fa
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jun 27 03:37:21 2013 +0000

description:
Add -fPIC to compile of crtbeginS.o

diffstat:

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

diffs (18 lines):

diff -r da7d1d602d1c -r 2d91275420fa lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Thu Jun 27 03:03:16 2013 +0000
+++ b/lib/csu/common/Makefile.inc       Thu Jun 27 03:37:21 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.10 2013/06/25 07:18:02 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.11 2013/06/27 03:37:21 matt Exp $
 
 .include <bsd.own.mk>
 
@@ -34,7 +34,7 @@
 .else
 crtbeginS.o: crtbegin.c crtbegin.h
        ${_MKTARGET_COMPILE}
-       ${COMPILE.c} -DPIC -DSHARED ${COMMON_DIR}/crtbegin.c -o ${.TARGET}.o
+       ${COMPILE.c} -fPIC -DPIC -DSHARED ${COMMON_DIR}/crtbegin.c -o ${.TARGET}.o
 .endif
        ${LD} -x -r -o ${.TARGET} ${.TARGET}.o
        rm -f ${.TARGET}.o



Home | Main Index | Thread Index | Old Index