summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/stand/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sgi/stand/Makefile.inc')
-rw-r--r--sys/arch/sgi/stand/Makefile.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sgi/stand/Makefile.inc b/sys/arch/sgi/stand/Makefile.inc
index 063028b4dcd..feb3616b0a9 100644
--- a/sys/arch/sgi/stand/Makefile.inc
+++ b/sys/arch/sgi/stand/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.7 2011/03/18 06:21:40 matthew Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2012/08/21 14:46:19 pascal Exp $
# $NetBSD: Makefile.inc,v 1.7 2000/08/20 14:57:16 mrg Exp $
.ifndef __INCLUDED_STAND_MAKEFILE_INC
@@ -19,8 +19,13 @@ SAABI?= -mips3 -mno-abicalls -G 0 -fno-pic -fno-common
AS?= as
LD?= ld
LIBSA_CPPFLAGS?= -DNEEDS_HEAP_H
+.else
+AFLAGS+= ${NOPIE_FLAGS}
+CFLAGS+= ${NOPIE_FLAGS}
.endif
+CFLAGS+= ${NOPIE_FLAGS}
+
### Figure out what to use for libsa
LIBSADIR?= ${.CURDIR}/../libsa