summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"