summaryrefslogtreecommitdiff
path: root/sys/arch/armish
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-09-11 17:11:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-09-11 17:11:36 +0000
commitd82218bfb9095c25e40d7236c456b039f3f8295b (patch)
tree1dc57ee6fae045cb117703aba3e1f35d6a64d74d /sys/arch/armish
parentde6e10d5b73351083495105a6417b88938a5dfa9 (diff)
Cope with PIE, if it is enabled
Diffstat (limited to 'sys/arch/armish')
-rw-r--r--sys/arch/armish/stand/boot/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/armish/stand/boot/Makefile b/sys/arch/armish/stand/boot/Makefile
index f0b1a4cab9e..f08b6043d2e 100644
--- a/sys/arch/armish/stand/boot/Makefile
+++ b/sys/arch/armish/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2012/08/21 14:46:18 pascal Exp $
+# $OpenBSD: Makefile,v 1.9 2012/09/11 17:11:35 deraadt Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -14,7 +14,7 @@ S= ${.CURDIR}/../../../..
CPPFLAGS+= -D_STANDALONE
CPPFLAGS+= -nostdinc -I../.. -I. -I${.CURDIR} -I${S}
-CPPFLAGS+= -DCONADDR=0xfe800000UL -DCONSPEED=115200
+CPPFLAGS+= -DCONADDR=0xfe800000UL -DCONSPEED=115200 -fno-pie
COPTS+= -ffreestanding -fno-stack-protector
@@ -35,7 +35,6 @@ USE_LOADFILE= yes
LIBSA= ${SALIB}
LDFLAGS= -T ${.CURDIR}/ldscript
-NOPIE=
${PROG}: ${OBJS} ${LIBSA}
${LD} ${LDFLAGS} -o boot ${OBJS} ${LIBSA} ${LIBSA}