summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64/stand/cdboot
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/hppa64/stand/cdboot
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/hppa64/stand/cdboot')
-rw-r--r--sys/arch/hppa64/stand/cdboot/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa64/stand/cdboot/Makefile b/sys/arch/hppa64/stand/cdboot/Makefile
index 96f5792c252..76acfb9b96e 100644
--- a/sys/arch/hppa64/stand/cdboot/Makefile
+++ b/sys/arch/hppa64/stand/cdboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2007/11/26 08:36:49 deraadt Exp $
+# $OpenBSD: Makefile,v 1.3 2012/08/21 14:46:18 pascal Exp $
NOMAN= no man
S =${.CURDIR}/../../../..
@@ -60,3 +60,5 @@ NOPROG=
CPPFLAGS+=-DRELOC=${LOADADDR} -DHEAP_LIMIT=${HEAP_LIMIT}
CFLAGS+=$(SACFLAGS) -I../.. -I${.CURDIR}/../libsa -I${S}/stand/boot
+CFLAGS+=${NOPIE_FLAGS}
+AFLAGS+=${NOPIE_FLAGS}