1 |
commit: 626f41a9781c566d38796a9dabb7971a016b0e64 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 15 19:20:14 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 15 19:20:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=626f41a9 |
7 |
|
8 |
scripts/bootstrap-prefix: add small note about gcc-4.7 wrt c++ |
9 |
|
10 |
scripts/bootstrap-prefix.sh | 2 ++ |
11 |
1 file changed, 2 insertions(+) |
12 |
|
13 |
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh |
14 |
index 7afede079e..56a99fa65b 100755 |
15 |
--- a/scripts/bootstrap-prefix.sh |
16 |
+++ b/scripts/bootstrap-prefix.sh |
17 |
@@ -179,6 +179,8 @@ configure_toolchain() { |
18 |
# stage1 compiler that can build with C only. |
19 |
# But gcc-4.7 fails to build with gcc-5.4, so we check for |
20 |
# >gcc-4.7, as anything newer provides c++ anyway (#619542). |
21 |
+ # gcc-4.7 is the last version not to require a c++ compiler to |
22 |
+ # build |
23 |
eval $( (gcc -E - | grep compiler_stage1) <<-EOP |
24 |
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7)) |
25 |
compiler_stage1+=" sys-devel/gcc" |