diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc index 7c0329c2d77a..67c4b96d17fd 100644 --- a/lib/libc/net/Makefile.inc +++ b/lib/libc/net/Makefile.inc @@ -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