Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix for Debian/Ubuntu GCC version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Aug 27, 2015
1 parent 779e5a8 commit f708487
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build/make/install
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,10 @@ else
else
# $CXX points to some version of GCC, find out which version.
GCCVERSION=`$CXX -dumpversion`
case $GCCVERSION in
[0-3].*|4.[0-3]|4.[0-3].*)
# Add the .0 because Debian/Ubuntu gives version numbers like
# 4.6 instead of 4.6.4 (Trac #18885)
case "$GCCVERSION.0" in
[0-3].*|4.[0-3].*)
# Install our own GCC if the system-provided one is older than gcc-4.4.
# * gcc-4.2.4 compiles a slow IML:
# https://groups.google.com/forum/?fromgroups#!topic/sage-devel/Ux3t0dW2FSI
Expand Down

0 comments on commit f708487

Please sign in to comment.