diff options
Diffstat (limited to 'lib/csu/hppa')
-rw-r--r-- | lib/csu/hppa/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/csu/hppa/Makefile b/lib/csu/hppa/Makefile index dd45b03d651..b592dadd36a 100644 --- a/lib/csu/hppa/Makefile +++ b/lib/csu/hppa/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2008/10/06 14:17:49 kurt Exp $ +# $OpenBSD: Makefile,v 1.7 2008/11/11 23:49:46 kurt Exp $ # from: @(#)Makefile 5.5 (Berkeley) 5/21/91 CFLAGS+= -DLIBC_SCCS @@ -12,8 +12,8 @@ CFLAGS+= -I${ELFDIR} -I${.CURDIR} all: ${OBJS} crt0.o: crt0.c - @echo ${COMPILE.c} -DCRT0 ${.CURDIR}/crt0.c -o ${.TARGET} - @${COMPILE.c} -DCRT0 ${.CURDIR}/crt0.c -o ${.TARGET}.o + @echo ${COMPILE.c} -DCRT0 -fpie ${.CURDIR}/crt0.c -o ${.TARGET} + @${COMPILE.c} -DCRT0 -fpie ${.CURDIR}/crt0.c -o ${.TARGET}.o @${LD} -x -r -o ${.TARGET} ${.TARGET}.o @rm -f ${.TARGET}.o @@ -24,8 +24,8 @@ gcrt0.o: crt0.c @rm -f ${.TARGET}.o crtbegin.o: crtbegin.c - @echo ${COMPILE.c} ${ELFDIR}/crtbegin.c -o ${.TARGET} - @${COMPILE.c} ${ELFDIR}/crtbegin.c -o ${.TARGET}.o + @echo ${COMPILE.c} -fpie ${ELFDIR}/crtbegin.c -o ${.TARGET} + @${COMPILE.c} -fpie ${ELFDIR}/crtbegin.c -o ${.TARGET}.o @${LD} -x -r -o ${.TARGET} ${.TARGET}.o @rm -f ${.TARGET}.o @@ -36,8 +36,8 @@ crtbeginS.o: crtbeginS.c @rm -f ${.TARGET}.o crtend.o: crtend.c - @echo ${COMPILE.c} ${ELFDIR}/crtend.c -o ${.TARGET} - @${COMPILE.c} ${ELFDIR}/crtend.c -o ${.TARGET}.o + @echo ${COMPILE.c} -fpie ${ELFDIR}/crtend.c -o ${.TARGET} + @${COMPILE.c} -fpie ${ELFDIR}/crtend.c -o ${.TARGET}.o @${LD} -x -r -o ${.TARGET} ${.TARGET}.o @rm -f ${.TARGET}.o |