Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/net/lib/libnetbt avoid gcc bug on sh3



details:   https://anonhg.NetBSD.org/src/rev/35eedd8dab46
branches:  trunk
changeset: 791188:35eedd8dab46
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 07 21:30:58 2013 +0000

description:
avoid gcc bug on sh3

diffstat:

 sys/rump/net/lib/libnetbt/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r d2a28522edf5 -r 35eedd8dab46 sys/rump/net/lib/libnetbt/Makefile
--- a/sys/rump/net/lib/libnetbt/Makefile        Thu Nov 07 20:09:55 2013 +0000
+++ b/sys/rump/net/lib/libnetbt/Makefile        Thu Nov 07 21:30:58 2013 +0000
@@ -1,6 +1,8 @@
-#      $NetBSD: Makefile,v 1.1 2010/03/22 12:08:44 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2013/11/07 21:30:58 christos Exp $
 #
 
+.include <bsd.own.mk>
+
 .PATH: ${.CURDIR}/../../../../netbt
 
 LIB=   rumpnet_netbt
@@ -13,6 +15,11 @@
        rfcomm_dlc.c rfcomm_session.c rfcomm_socket.c rfcomm_upper.c    \
        sco_socket.c sco_upper.c
 
+.if ${HAVE_GCC} && ${HAVE_GCC} == 48
+.if ${MACHINE_ARCH} == "sh3eb" || ${MACHINE_ARCH} == "sh3el"
+COPTS.l2cap_signal.c=  -O0
+.endif
+.endif
 SRCS+= component.c
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index