Subject: CVS commit: src/tools/gdb
To: None <source-changes@NetBSD.org>
From: Valeriy E. Ushakov <uwe@netbsd.org>
List: source-changes
Date: 11/23/2006 22:41:11
Module Name:	src
Committed By:	uwe
Date:		Thu Nov 23 22:41:11 UTC 2006

Modified Files:
	src/tools/gdb: Makefile

Log Message:
Use -isystem to add ${DESTDIR}/usr/include to the search path.

gdb comes with its own copy of GNU readline 5.x, but
-I${DESTDIR}/usr/include stuffed at the beginning of the command line
makes it find our compat readline/readline.h (emulating readline 2.x)
that conflicts with the readline 5.x includes.

Makes README.mknative instructions actually work instead of failing
midway b/c of conflicting tilde_expand() prototypes.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 src/tools/gdb/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.