diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-09-04 19:53:38 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-09-04 19:53:38 +0100 |
commit | f4139631463fe56aebf3c04a44f8691ccd044c01 (patch) | |
tree | 025e406bcfa251373b23c8795afe87dcc32766e3 | |
parent | Convert binary wrapper to a symlink wrapper. (diff) | |
download | gcc-config-f4139631463fe56aebf3c04a44f8691ccd044c01.tar.gz gcc-config-f4139631463fe56aebf3c04a44f8691ccd044c01.tar.bz2 gcc-config-f4139631463fe56aebf3c04a44f8691ccd044c01.zip |
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@gentoo.org>
-rwxr-xr-x | gcc-config | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |