diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-04-27 16:50:16 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-04-27 16:50:16 +0000 |
commit | 50c901d35251f10d0ef363f25fa90a6555c0083f (patch) | |
tree | 5e280ae031512047b364af87f7523aaa60caebeb /sys/arch/sparc64/conf | |
parent | 084eadb7ab47f77e4f6dea94d3626b2b339f62de (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/sparc64/conf')
-rw-r--r-- | sys/arch/sparc64/conf/Makefile.sparc64 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64 index f38b3d7e04c..7559fc8a7bb 100644 --- a/sys/arch/sparc64/conf/Makefile.sparc64 +++ b/sys/arch/sparc64/conf/Makefile.sparc64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sparc64,v 1.42 2010/04/27 06:46:26 deraadt Exp $ +# $OpenBSD: Makefile.sparc64,v 1.43 2010/04/27 16:50:15 jsg Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -31,7 +31,8 @@ CDIAGFLAGS= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes \ -Wno-uninitialized -Wno-format -Wno-main \ -Wstack-larger-than-2047 -Wvariable-decl -CMACHFLAGS= -Wa,-Av9b, -mno-fpu -fno-builtin-printf -fno-builtin-log +CMACHFLAGS= -Wa,-Av9b, -mno-fpu -fno-builtin-printf -fno-builtin-log \ + -fno-builtin-log2 -fno-builtin-malloc .if ${IDENT:M-DNO_PROPOLICE} CMACHFLAGS+= -fno-stack-protector .endif |