Module Name: src Committed By: christos Date: Thu Nov 7 21:30:58 UTC 2013
Modified Files: src/sys/rump/net/lib/libnetbt: Makefile Log Message: avoid gcc bug on sh3 To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/rump/net/lib/libnetbt/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/rump/net/lib/libnetbt/Makefile diff -u src/sys/rump/net/lib/libnetbt/Makefile:1.1 src/sys/rump/net/lib/libnetbt/Makefile:1.2 --- src/sys/rump/net/lib/libnetbt/Makefile:1.1 Mon Mar 22 08:08:44 2010 +++ src/sys/rump/net/lib/libnetbt/Makefile Thu Nov 7 16:30:58 2013 @@ -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 @@ SRCS= bt_proto.c bt_sysctl.c \ 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>