summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/stand/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/loongson/stand/boot/Makefile')
-rw-r--r--sys/arch/loongson/stand/boot/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/loongson/stand/boot/Makefile b/sys/arch/loongson/stand/boot/Makefile
index 0dbc764a1d6..4d79852d7d1 100644
--- a/sys/arch/loongson/stand/boot/Makefile
+++ b/sys/arch/loongson/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2010/02/17 19:51:30 miod Exp $
+# $OpenBSD: Makefile,v 1.3 2012/08/31 16:13:59 pascal Exp $
NOMAN=
#MAN= boot.8
@@ -9,5 +9,8 @@ PROG= boot
.else
NOPROG=
.endif
+CFLAGS+=-fno-pie
+AFLAGS+=-fno-pie
+LDFLAGS+=-nopie
.include <bsd.prog.mk>