diff options
author | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-21 14:46:21 +0000 |
---|---|---|
committer | Pascal Stumpf <pascal@cvs.openbsd.org> | 2012-08-21 14:46:21 +0000 |
commit | 9333c875627ad69d46ab3793263036ff3b45cc49 (patch) | |
tree | 697841a9433248956f025a7d1b3cd8019dfef64c /sys/arch/armish | |
parent | 1caaeac6aae64a980b30cd0f00e3d491be174c97 (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/Makefile | 3 |
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} |