From 3f349243f24adb0b0321f12fd943f768e2c21425 Mon Sep 17 00:00:00 2001 From: martin Date: Wed, 17 Jul 2013 14:23:45 +0000 Subject: [PATCH] Use -fPIE for crtbegin.o (instead of -fpie). Fixes linking the firefox js shell. Ok: joerg@ --- lib/csu/common/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/csu/common/Makefile.inc b/lib/csu/common/Makefile.inc index a372725e6448..b10ee9ce07e7 100644 --- a/lib/csu/common/Makefile.inc +++ b/lib/csu/common/Makefile.inc @@ -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 @@ -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