summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/boot
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-07-30 03:25:50 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-07-30 03:25:50 +0000
commit504cca6cdb1359a366237bb2195be0c746cabb21 (patch)
treec9af0b76bebfd27ed2e6c58db5108cda5eb32460 /sys/arch/i386/stand/boot
parenteaca4810148e3d8b20ad9aa2d209b3e04c30e0f3 (diff)
Prep for relro: make sure it's off for any non-PIE stand/ program
ok millert@ kettenis@
Diffstat (limited to 'sys/arch/i386/stand/boot')
-rw-r--r--sys/arch/i386/stand/boot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/stand/boot/Makefile b/sys/arch/i386/stand/boot/Makefile
index da21c2e1654..e227dae8534 100644
--- a/sys/arch/i386/stand/boot/Makefile
+++ b/sys/arch/i386/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.59 2016/03/30 06:38:45 jmc Exp $
+# $OpenBSD: Makefile,v 1.60 2016/07/30 03:25:48 guenther Exp $
COPTS?=
MAN?= boot.8
@@ -16,7 +16,7 @@ SADIR= ${.CURDIR}/..
PROG?= boot
LD?= ld
SIZE?= size
-LDFLAGS+=-nostdlib -Bstatic -nopie
+LDFLAGS+=-nostdlib -Bstatic -nopie -znorelro
CLEANFILES+= crt0.o
SRCS= srt0.S conf.c