Subject: Extra -I needed for gdb5.3 and MIPS
To: None <tech-toolchain@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-toolchain
Date: 09/15/2003 01:17:19
Hi folks,

I needed to add "-I${DIST}/bfd" to the opcodes Makefile for gdb 5.3 to
build under MIPS.  I don't think this could break any other ports, but
wanted to check first...

Index: gnu/usr.bin/gdb53/opcodes/Makefile
===================================================================
RCS file: /cvsroot/src/gnu/usr.bin/gdb53/opcodes/Makefile,v
retrieving revision 1.4
diff -d -p -u -r1.4 Makefile
--- gnu/usr.bin/gdb53/opcodes/Makefile	2003/09/14 09:50:15	1.4
+++ gnu/usr.bin/gdb53/opcodes/Makefile	2003/09/14 15:14:17
@@ -15,7 +15,7 @@ DIST=		${TOP}/dist/gdb
 LIB=		opcodes
 SRCS=		${G_OPCODES_OBJS:.o=.c}
 CPPFLAGS=	-I${.CURDIR}  -I${.CURDIR}/../arch/${MACHINE_ARCH} \
-		-I${DIST}/include -I${.CURDIR}/../bfd \
+		-I${DIST}/include -I${DIST}/bfd -I${.CURDIR}/../bfd \
 		-DHAVE_CONFIG_H
 
 libinstall::

Simon.
--
Simon Burge                                   <simonb@wasabisystems.com>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/