Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/libevent/lib/libevent another gcc workaround



details:   https://anonhg.NetBSD.org/src/rev/397791075034
branches:  trunk
changeset: 791215:397791075034
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 09 00:26:06 2013 +0000

description:
another gcc workaround

diffstat:

 external/bsd/libevent/lib/libevent/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 70e317555073 -r 397791075034 external/bsd/libevent/lib/libevent/Makefile
--- a/external/bsd/libevent/lib/libevent/Makefile       Fri Nov 08 22:42:52 2013 +0000
+++ b/external/bsd/libevent/lib/libevent/Makefile       Sat Nov 09 00:26:06 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/04/11 16:59:16 christos Exp $
+# $NetBSD: Makefile,v 1.2 2013/11/09 00:26:06 christos Exp $
 
 USE_SHLIBDIR=yes
 .include <bsd.own.mk>
@@ -28,4 +28,10 @@
 select.c \
 signal.c
 
+.if defined(HAVE_GCC) && ${HAVE_GCC} == 48
+.if ${MACHINE_ARCH} == "sh3el"
+COPTS.evdns.c= -O0
+.endif
+.endif
+
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index