From 50c901d35251f10d0ef363f25fa90a6555c0083f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 27 Apr 2010 16:50:16 +0000 Subject: 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@ --- sys/arch/hppa64/conf/Makefile.hppa64 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/arch/hppa64/conf') diff --git a/sys/arch/hppa64/conf/Makefile.hppa64 b/sys/arch/hppa64/conf/Makefile.hppa64 index 51c1952111e..fd15cbe48de 100644 --- a/sys/arch/hppa64/conf/Makefile.hppa64 +++ b/sys/arch/hppa64/conf/Makefile.hppa64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.hppa64,v 1.20 2010/04/27 06:46:25 deraadt Exp $ +# $OpenBSD: Makefile.hppa64,v 1.21 2010/04/27 16:50:15 jsg Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -30,8 +30,9 @@ CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL \ CWARNFLAGS= -Werror -Wall -Wstrict-prototypes -Wno-uninitialized \ -Wno-format -Wno-main \ -Wstack-larger-than-2047 -Wvariable-decl -CMACHFLAGS= -fno-stack-protector -fno-builtin-log -fno-builtin-printf \ - -fno-builtin-snprintf -fno-builtin-vsnprintf +CMACHFLAGS= -fno-stack-protector -fno-builtin-log -fno-builtin-log2 \ + -fno-builtin-printf -fno-builtin-snprintf \ + -fno-builtin-vsnprintf -fno-builtin-malloc COPTS?= -Os -mpa-risc-2-0 -mno-space-regs -mdisable-fpregs CFLAGS= ${DEBUG} ${COPTS} ${CWARNFLAGS} ${CMACHFLAGS} ${PIPE} AFLAGS= -x assembler-with-cpp -traditional-cpp -D_LOCORE -- cgit v1.2.3