summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2013-06-02 19:52:37 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2013-06-02 19:52:37 +0000
commitb015e94f1fa88a49429bb89efe1abf0724611493 (patch)
treed0bafd0def88aecd8d6e1654fe912d28742f39d5 /sys/arch
parenta5258127c59cd13ace9db517c89a4f1810c8208c (diff)
compile with -fno-builtin-exit
ok miod@ pirofti@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/loongson/stand/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/loongson/stand/Makefile.inc b/sys/arch/loongson/stand/Makefile.inc
index aae5d2a51ef..a8a9237859d 100644
--- a/sys/arch/loongson/stand/Makefile.inc
+++ b/sys/arch/loongson/stand/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.4 2012/08/31 16:13:59 pascal Exp $
+# $OpenBSD: Makefile.inc,v 1.5 2013/06/02 19:52:36 jasper Exp $
BINDIR= /usr/mdec
@@ -16,6 +16,7 @@ CFLAGS+= -fno-builtin-memcmp
CFLAGS+= -fno-builtin-memset
CFLAGS+= -fno-builtin-strncpy
CFLAGS+= -fno-builtin-strncmp
+CFLAGS+= -fno-builtin-exit
CFLAGS+= -Wa,-mfix-loongson2f-btb
SAABI= -mips3 -mno-abicalls -G 0 -fno-pic -fno-common
AS?= as