aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2013-01-02 09:55:17 +0100
committerMike Frysinger <vapier@gentoo.org>2013-01-02 13:32:08 -0500
commit03c49f853b4850a043f91816097250a1b3ddcf22 (patch)
tree397744f6512218bd045397becbb54ec30c00bb6f
parentcompile gcc-config into .gcc-config so we can test it properly (diff)
downloadgcc-config-03c49f853b4850a043f91816097250a1b3ddcf22.tar.gz
gcc-config-03c49f853b4850a043f91816097250a1b3ddcf22.tar.bz2
gcc-config-03c49f853b4850a043f91816097250a1b3ddcf22.zip
gcc-config: for Prefix split-/usr is never an issue
Don't consider linking, even if /usr would be split, on Prefix. Do cleanup from older gcc-config though. This leaves a gap where we don't cleanup if the Prefix install uses a different filesystem for its /usr, but that should be pretty rare, non-standard and utterly weird, so we don't care. Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xgcc-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc-config b/gcc-config
index b11a98f..6fb9904 100755
--- a/gcc-config
+++ b/gcc-config
@@ -311,6 +311,9 @@ 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