diff options
author | Fabian Groffen <grobian@gentoo.org> | 2013-01-02 09:55:17 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-01-02 13:32:08 -0500 |
commit | 03c49f853b4850a043f91816097250a1b3ddcf22 (patch) | |
tree | 397744f6512218bd045397becbb54ec30c00bb6f | |
parent | compile gcc-config into .gcc-config so we can test it properly (diff) | |
download | gcc-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-x | gcc-config | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |