Module Name: src Committed By: martin Date: Wed Jul 17 14:23:46 UTC 2013
Modified Files: src/lib/csu/common: Makefile.inc Log Message: Use -fPIE for crtbegin.o (instead of -fpie). Fixes linking the firefox js shell. Ok: joerg@ To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/csu/common/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/csu/common/Makefile.inc diff -u src/lib/csu/common/Makefile.inc:1.13 src/lib/csu/common/Makefile.inc:1.14 --- src/lib/csu/common/Makefile.inc:1.13 Fri Jul 5 02:06:49 2013 +++ src/lib/csu/common/Makefile.inc Wed Jul 17 14:23:45 2013 @@ -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 @@ crtbegin.o: crtbegin.S .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