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 -fPIE for crtbegin.o (instead of -fpie).



details:   https://anonhg.NetBSD.org/src/rev/15b45f16e365
branches:  trunk
changeset: 787983:15b45f16e365
user:      martin <martin%NetBSD.org@localhost>
date:      Wed Jul 17 14:23:45 2013 +0000

description:
Use -fPIE for crtbegin.o (instead of -fpie).
Fixes linking the firefox js shell. Ok: joerg@

diffstat:

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

diffs (18 lines):

diff -r 2da818443f70 -r 15b45f16e365 lib/csu/common/Makefile.inc
--- a/lib/csu/common/Makefile.inc       Wed Jul 17 14:05:43 2013 +0000
+++ b/lib/csu/common/Makefile.inc       Wed Jul 17 14:23:45 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.13 2013/07/05 02:06:49 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.14 2013/07/17 14:23:45 martin Exp $
 
 .include <bsd.own.mk>
 
@@ -23,7 +23,7 @@
 .else
 crtbegin.o: crtbegin.c crtbegin.h
        ${_MKTARGET_COMPILE}
-       ${COMPILE.c} -fpie ${COMMON_DIR}/crtbegin.c -o ${.TARGET}.o
+       ${COMPILE.c} -fPIE ${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