summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Stumpf <pascal@cvs.openbsd.org>2012-08-23 17:06:37 +0000
committerPascal Stumpf <pascal@cvs.openbsd.org>2012-08-23 17:06:37 +0000
commit675446016597a7f843c7b18d5fcf0632ffa655a4 (patch)
treed5afb2ad2a24b19a02e6d12d1ef89f4426b50269
parent525255cad93062f365abdb9be75f689cb13fcc82 (diff)
missed NOPIE_FLAGS, noticed by Brian Callahan
ok deraadt@
-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