summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-09-04 19:53:38 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-09-04 19:53:38 +0100
commitf4139631463fe56aebf3c04a44f8691ccd044c01 (patch)
tree025e406bcfa251373b23c8795afe87dcc32766e3
parentConvert binary wrapper to a symlink wrapper. (diff)
downloadgcc-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-xgcc-config8
1 files 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