diff options
author | 2012-09-11 17:11:35 +0000 | |
---|---|---|
committer | 2012-09-11 17:11:35 +0000 | |
commit | 7f7616b7469b89732e27e978b37f5570725dc8f2 (patch) | |
tree | 710c56ca62a31b39457192a57362f0dac0dc8ab3 | |
parent | Initialize fd correctly. This fixes a lot of problems. (diff) | |
download | wireguard-openbsd-7f7616b7469b89732e27e978b37f5570725dc8f2.tar.xz wireguard-openbsd-7f7616b7469b89732e27e978b37f5570725dc8f2.zip |
Cope with PIE, if it is enabled
-rw-r--r-- | sys/arch/armish/stand/boot/Makefile | 5 |
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} |