From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A5B2758973 for ; Tue, 2 Feb 2016 19:48:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1050A21C016; Tue, 2 Feb 2016 19:48:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F97221C016 for ; Tue, 2 Feb 2016 19:48:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7564340DD6 for ; Tue, 2 Feb 2016 19:48:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 231668F2 for ; Tue, 2 Feb 2016 19:48:34 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1454442189.03e091d4c48537775f2b91b508a76b3b26818bd1.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 03e091d4c48537775f2b91b508a76b3b26818bd1 X-VCS-Branch: master Date: Tue, 2 Feb 2016 19:48:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9cd62708-f5cd-4df9-b4a1-4c190201b870 X-Archives-Hash: 402ba183994c0a2a73849c4ac7601921 commit: 03e091d4c48537775f2b91b508a76b3b26818bd1 Author: Fabian Groffen gentoo org> AuthorDate: Tue Feb 2 19:43:09 2016 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Feb 2 19:43:09 2016 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=03e091d4 bootstrap_stage3: ensure we use includes from target prefix Because we use a compiler from stage2 (= EPREFIX/tmp) it also has its searchpath setup to look in that prefix. This gives problems when we need libraries/includes from the newly built prefix (like with libiconv) so, temporarily add flags for the target prefix. scripts/bootstrap-prefix.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 40eaede..8315397 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1183,6 +1183,8 @@ bootstrap_stage3() { configure_toolchain || return 1 export CONFIG_SHELL="${ROOT}"/tmp/bin/bash + export CPPFLAGS="-I${ROOT}/usr/include" + export LDFLAGS="-I${ROOT}/usr/lib" unset CC CXX emerge_pkgs() {