summaryrefslogtreecommitdiff
path: root/sys/arch/loongson/stand/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/loongson/stand/Makefile.inc')
-rw-r--r--sys/arch/loongson/stand/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/loongson/stand/Makefile.inc b/sys/arch/loongson/stand/Makefile.inc
index 30b3f82700a..356fd77c289 100644
--- a/sys/arch/loongson/stand/Makefile.inc
+++ b/sys/arch/loongson/stand/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.2 2011/03/18 06:21:40 matthew Exp $
+# $OpenBSD: Makefile.inc,v 1.3 2012/08/23 17:06:36 pascal Exp $
BINDIR= /usr/mdec
@@ -17,6 +17,8 @@ CFLAGS+= -fno-builtin-memset
CFLAGS+= -fno-builtin-strncpy
CFLAGS+= -fno-builtin-strncmp
CFLAGS+= -Wa,-mfix-loongson2f-btb
+CFLAGS+= ${NOPIE_FLAGS}
+AFLAGS+= ${NOPIE_FLAGS}
SAABI= -mips3 -mno-abicalls -G 0 -fno-pic -fno-common
AS?= as
LD?= ld