summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand
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/alpha/stand
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/alpha/stand')
-rw-r--r--sys/arch/alpha/stand/boot/Makefile3
-rw-r--r--sys/arch/alpha/stand/bootxx/Makefile3
-rw-r--r--sys/arch/alpha/stand/netboot/Makefile3
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/arch/alpha/stand/boot/Makefile b/sys/arch/alpha/stand/boot/Makefile
index 0f5e39e69b1..835f06f82bf 100644
--- a/sys/arch/alpha/stand/boot/Makefile
+++ b/sys/arch/alpha/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2011/06/05 21:49:36 miod Exp $
+# $OpenBSD: Makefile,v 1.18 2012/08/21 14:46:17 pascal Exp $
# $NetBSD: Makefile,v 1.17 1997/04/17 07:27:46 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -10,6 +10,7 @@ PROG = boot
SRCS = start.S boot.c disk.c conf.c prom.c prom_disp.S OSFpal.c
SRCS+= devopen.c filesystem.c loadfile_subr.c prom_swpal.S
NOMAN=
+NOPIE=
INSTALL_STRIP=
BINMODE= 444
diff --git a/sys/arch/alpha/stand/bootxx/Makefile b/sys/arch/alpha/stand/bootxx/Makefile
index 6c1378759c4..a55d2715bbd 100644
--- a/sys/arch/alpha/stand/bootxx/Makefile
+++ b/sys/arch/alpha/stand/bootxx/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 2011/06/05 21:49:36 miod Exp $
+# $OpenBSD: Makefile,v 1.12 2012/08/21 14:46:18 pascal Exp $
# $NetBSD: Makefile,v 1.12 1997/04/17 07:27:49 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -9,6 +9,7 @@ PROG = bootxx
SRCS = start.S bootxx.c prom.c prom_disp.S puts.c
NOMAN=
+NOPIE=
INSTALL_STRIP=
BINMODE= 444
diff --git a/sys/arch/alpha/stand/netboot/Makefile b/sys/arch/alpha/stand/netboot/Makefile
index 52890e31ed5..54b242814f6 100644
--- a/sys/arch/alpha/stand/netboot/Makefile
+++ b/sys/arch/alpha/stand/netboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2011/06/05 21:49:36 miod Exp $
+# $OpenBSD: Makefile,v 1.11 2012/08/21 14:46:18 pascal Exp $
# $NetBSD: Makefile,v 1.11 1997/04/17 07:27:50 thorpej Exp $
S= ${.CURDIR}/../../../..
@@ -13,6 +13,7 @@ SRCS+= dev_net.c conf.c devopen.c
SRCS+= if_prom.c getsecs.c
SRCS+= loadfile_subr.c
NOMAN=
+NOPIE=
INSTALL_STRIP=
BINMODE= 444