summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/stand/boot.mac/Makefile
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/macppc/stand/boot.mac/Makefile
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/macppc/stand/boot.mac/Makefile')
-rw-r--r--sys/arch/macppc/stand/boot.mac/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/macppc/stand/boot.mac/Makefile b/sys/arch/macppc/stand/boot.mac/Makefile
index 1028decc9e0..87067f83b2b 100644
--- a/sys/arch/macppc/stand/boot.mac/Makefile
+++ b/sys/arch/macppc/stand/boot.mac/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2011/07/08 08:49:53 drahn Exp $
+# $OpenBSD: Makefile,v 1.6 2012/08/21 14:46:19 pascal Exp $
# $NetBSD: Makefile,v 1.1 1996/09/30 16:35:05 ws Exp $
S= ${.CURDIR}/../../../..
@@ -16,6 +16,7 @@ BINDIR= /usr/mdec
OBJCOPY?= objcopy
OBJCOPY_ARGS= -O aixcoff-rs6000 -R .comment -R .note
LDFLAGS= -X -Ttext ${RELOC} -e $(ENTRY) -T ${.CURDIR}/elf32_powerpc_merge.x -Bstatic
+NOPIE=
.PATH: ${S}/stand/boot
.PATH: ${S}/lib/libsa