summaryrefslogtreecommitdiff
path: root/sys/arch/gumstix/conf
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-04-27 16:50:16 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-04-27 16:50:16 +0000
commit50c901d35251f10d0ef363f25fa90a6555c0083f (patch)
tree5e280ae031512047b364af87f7523aaa60caebeb /sys/arch/gumstix/conf
parent084eadb7ab47f77e4f6dea94d3626b2b339f62de (diff)
Disable builtin malloc and log2 on gcc3 arches, a no-op for gcc3
but required for gcc4. ok kettenis@ deraadt@ marco@, log2 suggested by robert@
Diffstat (limited to 'sys/arch/gumstix/conf')
-rw-r--r--sys/arch/gumstix/conf/Makefile.gumstix5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/gumstix/conf/Makefile.gumstix b/sys/arch/gumstix/conf/Makefile.gumstix
index dfcb6543577..4980308c66a 100644
--- a/sys/arch/gumstix/conf/Makefile.gumstix
+++ b/sys/arch/gumstix/conf/Makefile.gumstix
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.gumstix,v 1.16 2010/04/27 16:43:42 deraadt Exp $
+# $OpenBSD: Makefile.gumstix,v 1.17 2010/04/27 16:50:14 jsg Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -35,7 +35,8 @@ CMACHFLAGS= -ffreestanding
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector
.endif
-CMACHFLAGS+= -msoft-float -fno-builtin-printf -fno-builtin-log
+CMACHFLAGS+= -msoft-float -fno-builtin-printf -fno-builtin-log \
+ -fno-builtin-log2 -fno-builtin-malloc
COPTS?= -O2
CFLAGS= ${DEBUG} ${CDIAGFLAGS} ${CMACHFLAGS} ${COPTS} ${PIPE}