summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-01-15 20:20:14 +0100
committerFabian Groffen <grobian@gentoo.org>2018-01-15 20:20:14 +0100
commit626f41a9781c566d38796a9dabb7971a016b0e64 (patch)
tree2079a20b5fee72311b22c835458d16fbc63fb188 /scripts
parentscripts/bootstrap-prefix: make 64-bits libgcc_s available on Solaris (diff)
downloadprefix-626f41a9781c566d38796a9dabb7971a016b0e64.tar.gz
prefix-626f41a9781c566d38796a9dabb7971a016b0e64.tar.bz2
prefix-626f41a9781c566d38796a9dabb7971a016b0e64.zip
scripts/bootstrap-prefix: add small note about gcc-4.7 wrt c++
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap-prefix.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 7afede079e..56a99fa65b 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -179,6 +179,8 @@ configure_toolchain() {
# stage1 compiler that can build with C only.
# But gcc-4.7 fails to build with gcc-5.4, so we check for
# >gcc-4.7, as anything newer provides c++ anyway (#619542).
+ # gcc-4.7 is the last version not to require a c++ compiler to
+ # build
eval $( (gcc -E - | grep compiler_stage1) <<-EOP
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 7))
compiler_stage1+=" sys-devel/gcc"