summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/stand
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2012-09-11 15:59:02 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2012-09-11 15:59:02 +0000
commitec02909b7fd85f9d91daa438a847e592f24e26b3 (patch)
tree36da1a66b95083783e54160230ff1f756d80d547 /sys/arch/socppc/stand
parent97591430ce787f738611b19ae7bc9a8867beba7c (diff)
Add -nopie to the linker flags.
Diffstat (limited to 'sys/arch/socppc/stand')
-rw-r--r--sys/arch/socppc/stand/mbr/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/socppc/stand/mbr/Makefile b/sys/arch/socppc/stand/mbr/Makefile
index ee73ec018d3..0e374f8ceaa 100644
--- a/sys/arch/socppc/stand/mbr/Makefile
+++ b/sys/arch/socppc/stand/mbr/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2010/02/15 22:56:21 kettenis Exp $
+# $OpenBSD: Makefile,v 1.3 2012/09/11 15:59:01 kettenis Exp $
.include <bsd.own.mk>
@@ -9,7 +9,7 @@ NOMAN=
PROG= mbr
SRCS= mbr.S
AFLAGS+=-I${.OBJDIR} -I${.CURDIR}/../../.. #-Wa,a
-LDFLAGS+=-N -e start -Ttext 0
+LDFLAGS+=-N -e start -Ttext 0 -nopie
OBJCOPY?=objcopy
INSTALL_STRIP=