diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2016-07-30 03:25:50 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2016-07-30 03:25:50 +0000 |
commit | 504cca6cdb1359a366237bb2195be0c746cabb21 (patch) | |
tree | c9af0b76bebfd27ed2e6c58db5108cda5eb32460 /sys/arch/hppa/stand/cdboot | |
parent | eaca4810148e3d8b20ad9aa2d209b3e04c30e0f3 (diff) |
Prep for relro: make sure it's off for any non-PIE stand/ program
ok millert@ kettenis@
Diffstat (limited to 'sys/arch/hppa/stand/cdboot')
-rw-r--r-- | sys/arch/hppa/stand/cdboot/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/stand/cdboot/Makefile b/sys/arch/hppa/stand/cdboot/Makefile index e0408b0a2c5..83ea3e345cc 100644 --- a/sys/arch/hppa/stand/cdboot/Makefile +++ b/sys/arch/hppa/stand/cdboot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2014/07/13 21:18:26 miod Exp $ +# $OpenBSD: Makefile,v 1.10 2016/07/30 03:25:48 guenther Exp $ NOMAN= no man S =${.CURDIR}/../../../.. @@ -21,7 +21,7 @@ CPPFLAGS+=-DCONSPEED=9600 SRCS+= milli.S strlen.c strlcpy.c LD?= ld -LDFLAGS+=-Bstatic -nostartfiles -nostdlib -N -Ttext $(LINKADDR) -nopie +LDFLAGS+=-Bstatic -nostartfiles -nostdlib -N -Ttext $(LINKADDR) -nopie -znorelro LDFLAGS+=-T ${.CURDIR}/ld.script -Map cdboot.map SIZE?= size STRIP?= strip |