Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/net Avoid gcc 4.5.3 compiler bug on ia64 by compili...
details: https://anonhg.NetBSD.org/src/rev/2de7be4321f0
branches: trunk
changeset: 783518:2de7be4321f0
user: martin <martin%NetBSD.org@localhost>
date: Thu Dec 27 07:08:59 2012 +0000
description:
Avoid gcc 4.5.3 compiler bug on ia64 by compiling hesiod.c with -O1 only.
diffstat:
lib/libc/net/Makefile.inc | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 7b1180c9a2e8 -r 2de7be4321f0 lib/libc/net/Makefile.inc
--- a/lib/libc/net/Makefile.inc Thu Dec 27 06:55:49 2012 +0000
+++ b/lib/libc/net/Makefile.inc Thu Dec 27 07:08:59 2012 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index