From owner-svn-src-all@freebsd.org Sun Jun 28 15:14:04 2015 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6AAC98F87C for ; Sun, 28 Jun 2015 15:14:04 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo6-p00-ob.smtp.rzone.de (mo6-p00-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5300::6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 878571D09 for ; Sun, 28 Jun 2015 15:14:04 +0000 (UTC) (envelope-from joerg@britannica.bec.de) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/auYssSp3lv/q2GCaW6U= X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (ip-2-207-195-115.web.vodafone.de [2.207.195.115]) by smtp.strato.de (RZmta 37.8 DYNA|AUTH) with ESMTPSA id j0295dr5SFDvl9s (using TLSv1 with cipher AES256-SHA (256 bits)) (Client did not present a certificate) for ; Sun, 28 Jun 2015 17:13:57 +0200 (CEST) Received: by britannica.bec.de (sSMTP sendmail emulation); Sun, 28 Jun 2015 17:13:56 +0200 Date: Sun, 28 Jun 2015 17:13:56 +0200 From: Joerg Sonnenberger To: svn-src-all@freebsd.org Subject: Re: svn commit: r284898 - in head: . share/mk Message-ID: <20150628151356.GA14505@britannica.bec.de> References: <201506272328.t5RNSvQS063168@svn.freebsd.org> <260A448A-7195-49E6-8CCD-9F0753B61A18@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 15:14:05 -0000 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