commit: f4139631463fe56aebf3c04a44f8691ccd044c01 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Wed Sep 4 18:53:38 2019 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> 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 <slyfox <AT> 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
