cvs commit: src/gnu/usr.bin/binutils Makefile.inc0

Andrey Chernov ache at nagual.pp.ru
Fri Mar 5 06:37:18 PST 2004


On Fri, Mar 05, 2004 at 04:10:12PM +0200, Ruslan Ermilov wrote:
> Adding -I${DESTDIR}/usr/include broke upgrades from 4.x because
> now /usr/include/getopt.h gets used (which requires sys/types.h)

Why you decide, it requires sys/types.h?

> instead of the proper one from ${WORLDTMP}/legacy/usr/include/,
> usually /usr/obj/usr/src/i386/legacy/usr/include/getopt.h.

I don't see any principal difficulties here.
I use CFLAGS +=, so if you add -I.../legacy/... as first thing to CFLAGS 
(i.e. before mine one), your includes will be picked first.

> Please find some other way to fix this.

I see no other way to fix it until David will remove getopt* from 
binutil's contrib.

-- 
Andrey Chernov | http://ache.pp.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20040305/6da2e193/attachment.bin


More information about the cvs-all mailing list