1 |
commit: 03c49f853b4850a043f91816097250a1b3ddcf22 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 2 08:55:17 2013 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 2 18:32:08 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gcc-config.git;a=commit;h=03c49f85 |
7 |
|
8 |
gcc-config: for Prefix split-/usr is never an issue |
9 |
|
10 |
Don't consider linking, even if /usr would be split, on Prefix. Do |
11 |
cleanup from older gcc-config though. This leaves a gap where we don't |
12 |
cleanup if the Prefix install uses a different filesystem for its /usr, |
13 |
but that should be pretty rare, non-standard and utterly weird, so we |
14 |
don't care. |
15 |
|
16 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
17 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
18 |
|
19 |
--- |
20 |
gcc-config | 3 +++ |
21 |
1 files changed, 3 insertions(+), 0 deletions(-) |
22 |
|
23 |
diff --git a/gcc-config b/gcc-config |
24 |
index b11a98f..6fb9904 100755 |
25 |
--- a/gcc-config |
26 |
+++ b/gcc-config |
27 |
@@ -311,6 +311,9 @@ handle_split_usr() { |
28 |
return 0 |
29 |
fi |
30 |
|
31 |
+ # Gentoo Prefix systems don't "boot", so no need to handle split-/usr |
32 |
+ [[ -n ${EPREFIX} ]] && return 0 |
33 |
+ |
34 |
# Only bother with this stuff for the native ABI. We assume the user |
35 |
# doesn't have critical binaries for non-native ABIs which is fair. |
36 |
local gcclib |