Avoid gcc 4.5.3 compiler bug on ia64 by compiling hesiod.c with -O1 only.

This commit is contained in:
martin 2012-12-27 07:08:59 +00:00
parent ddb120e16c
commit 9200e999a5

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.81 2012/01/20 14:08:05 joerg Exp $
# $NetBSD: Makefile.inc,v 1.82 2012/12/27 07:08:59 martin Exp $
# @(#)Makefile.inc 8.2 (Berkeley) 9/5/93
# net sources
@ -17,6 +17,9 @@ SRCS+= base64.c ethers.c gethnamaddr.c getifaddrs.c \
.if (${MKHESIOD} != "no")
SRCS+= hesiod.c
.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "ia64"
COPTS.hesiod.c+= ${${ACTIVE_CC} == "gcc" :? -O1 :}
.endif
.endif
SRCS+= getaddrinfo.c getnameinfo.c