Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 17:13:56 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r284898 - in head: . share/mk
Message-ID:  <20150628151356.GA14505@britannica.bec.de>
In-Reply-To: <CAJ-Vmo=7OhvroDFdaM-0aYz-CRVj_o6LMVx8Rg_C5gzvuhy02g@mail.gmail.com>
References:  <201506272328.t5RNSvQS063168@svn.freebsd.org> <260A448A-7195-49E6-8CCD-9F0753B61A18@gmail.com> <CAJ-Vmo=0Ewo4Gmh5PPL_rJ7fT7RxvQQ3ebO6wpHKfW_iyDw-fA@mail.gmail.com> <FDBB2B3E-B86A-4324-8E0B-C9D81D9F733B@gmail.com> <CAJ-Vmo=7OhvroDFdaM-0aYz-CRVj_o6LMVx8Rg_C5gzvuhy02g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150628151356.GA14505>