diff options
Diffstat (limited to 'lib/csu/sh/Makefile')
-rw-r--r-- | lib/csu/sh/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/csu/sh/Makefile b/lib/csu/sh/Makefile index 9cf2a7bccce..22651e0c489 100644 --- a/lib/csu/sh/Makefile +++ b/lib/csu/sh/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2008/09/26 16:22:15 drahn Exp $ +# $OpenBSD: Makefile,v 1.3 2008/11/11 23:49:46 kurt Exp $ # from: @(#)Makefile 8.1 (Berkeley) 6/1/93 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 -DPIC ${.CURDIR}/crt0.c -o ${.TARGET} + @${COMPILE.c} -DCRT0 -fpie -DPIC ${.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 -DPIC ${ELFDIR}/crtbegin.c -o ${.TARGET} + @${COMPILE.c} -fpie -DPIC ${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 -DPIC ${ELFDIR}/crtend.c -o ${.TARGET} + @${COMPILE.c} -fpie -DPIC ${ELFDIR}/crtend.c -o ${.TARGET}.o @${LD} -x -r -o ${.TARGET} ${.TARGET}.o @rm -f ${.TARGET}.o |