summaryrefslogtreecommitdiff
path: root/sys/arch/armish
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2012-08-21 14:46:21 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2012-08-21 14:46:21 +0000
commit9333c875627ad69d46ab3793263036ff3b45cc49 (patch)
tree697841a9433248956f025a7d1b3cd8019dfef64c /sys/arch/armish
parent1caaeac6aae64a980b30cd0f00e3d491be174c97 (diff)
Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ... ok deraadt@
Diffstat (limited to 'sys/arch/armish')
-rw-r--r--sys/arch/armish/stand/boot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/armish/stand/boot/Makefile b/sys/arch/armish/stand/boot/Makefile
index f3935ada48f..f0b1a4cab9e 100644
--- a/sys/arch/armish/stand/boot/Makefile
+++ b/sys/arch/armish/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.7 2008/06/09 15:01:56 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2012/08/21 14:46:18 pascal Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -35,6 +35,7 @@ USE_LOADFILE= yes
LIBSA= ${SALIB}
LDFLAGS= -T ${.CURDIR}/ldscript
+NOPIE=
${PROG}: ${OBJS} ${LIBSA}
${LD} ${LDFLAGS} -o boot ${OBJS} ${LIBSA} ${LIBSA}