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 8BF4F138334 for ; Wed, 4 Sep 2019 19:00:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7CCAE0831; Wed, 4 Sep 2019 19:00:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 68FA1E0831 for ; Wed, 4 Sep 2019 19:00:24 +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 DC95B34AC40 for ; Wed, 4 Sep 2019 19:00:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E92D9776 for ; Wed, 4 Sep 2019 19:00:16 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1567623218.f4139631463fe56aebf3c04a44f8691ccd044c01.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: / X-VCS-Repository: proj/gcc-config X-VCS-Files: gcc-config X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: f4139631463fe56aebf3c04a44f8691ccd044c01 X-VCS-Branch: master Date: Wed, 4 Sep 2019 19:00:16 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2b8d1805-3342-405a-a07d-61ff4de068a8 X-Archives-Hash: c7c5306aab41be7bf36f22c34c6cf6c1 commit: f4139631463fe56aebf3c04a44f8691ccd044c01 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Sep 4 18:53:38 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Sep 4 18:53:38 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=f4139631 gcc-config: don't perform a cleanup for prefix systems Patch by [Arfrever]. No changes in actual handling of /lib*/ file on non-prefix systems yet. Bug: https://bugs.gentoo.org/667020 Signed-off-by: Sergei Trofimovich gentoo.org> gcc-config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc-config b/gcc-config index e7f3fb9..998a165 100755 --- a/gcc-config +++ b/gcc-config @@ -287,7 +287,10 @@ handle_split_usr() { # http://bugs.gentoo.org/60190 # # The funky move magic is required for proper updating of in-use files. - # + + # Gentoo Prefix systems don't "boot", so no need to handle split-/usr + [[ -n ${EPREFIX} ]] && return 0 + # We use the same ordering logic as mentioned in the MY_LDPATH setup. # We get the libs from the latest version available. local LDPATH @@ -306,9 +309,6 @@ handle_split_usr() { return 0 fi - # Gentoo Prefix systems don't "boot", so no need to handle split-/usr - [[ -n ${EPREFIX} ]] && return 0 - # Only bother with this stuff for the native ABI. We assume the user # doesn't have critical binaries for non-native ABIs which is fair. local gcclib