From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6D37138334 for ; Wed, 20 Jun 2018 07:32:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE608E0984; Wed, 20 Jun 2018 07:32:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A6E2CE0984 for ; Wed, 20 Jun 2018 07:32:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CE256335C97 for ; Wed, 20 Jun 2018 07:32:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA69E2E2 for ; Wed, 20 Jun 2018 07:32:30 +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: <1529479833.d3e19786b5813d6ce3d3ee80ca4a8163054d97af.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: eclass/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: d3e19786b5813d6ce3d3ee80ca4a8163054d97af X-VCS-Branch: master Date: Wed, 20 Jun 2018 07:32:30 +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: c70f3061-3888-424f-9476-0fe4c91cdfa3 X-Archives-Hash: 50b1572fd4241ea6b5fcd6fa93ae90df commit: d3e19786b5813d6ce3d3ee80ca4a8163054d97af Author: Fabian Groffen gentoo org> AuthorDate: Wed Jun 20 07:30:33 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Wed Jun 20 07:30:33 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d3e19786 eclass/toolchain: stop adding EPREFIX/Frameworks to searchpath on Darwin The path isn't used at all, and compilation with gcc-7 yields lots of warnings by default about the dir not existing. In combination with -Werror (like gcc build process does) this results in a failure. eclass/toolchain.eclass | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 4235583495..097cf772ed 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -543,8 +543,14 @@ toolchain_src_prepare() { "${S}"/gcc/config/darwin.h || die "sed gcc/config/darwin.h failed" # add prefixed Frameworks to default search paths (may want to # change this in a cross-compile) - sed -i -e "/\"\/System\/Library\/Frameworks\"\,/i\ \ \"${EPREFIX}/Frameworks\"\, " \ - "${S}"/gcc/config/darwin-c.c || die "sed gcc/config/darwin-c.c failed" + # 2018-06-20 (grobian): disabled this because + # 1. no packages seem to use this + # 2. absence of this dir causes + # warnings->errors with gcc-7 + # 3. after 2. would need to create the dir + # somewhere, but 1. still applies + #sed -i -e "/\"\/System\/Library\/Frameworks\"\,/i\ \ \"${EPREFIX}/Frameworks\"\, " \ + # "${S}"/gcc/config/darwin-c.c || die "sed gcc/config/darwin-c.c failed" # make sure the pkg config files install into multilib dirs. # since we configure with just one --libdir, we can't use that