svn commit: r284898 - in head: . share/mk

Joerg Sonnenberger joerg at britannica.bec.de
Sun Jun 28 15:14:05 UTC 2015


On Sun, Jun 28, 2015 at 12:13:11AM -0700, Adrian Chadd wrote:
> One must use -I=/usr/include - then the sysroot stuff gets appended correctly.

You really want to use -isysroot =/usr/include. One issue the NetBSD
patches solves is that GCC seems to consider sysroot vs non-sysroot as
property for whether the default paths should be searched, which is
insane. The patches allow building a single GCC binary that can use
--sysroot ${DESTDIR} or not and will do the right thing..

Joerg


More information about the svn-src-all mailing list