Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

config/toolchain: support ubuntu quantal

  • Loading branch information...
commit 2728aa265941a30fe3ba2109f2a0769f5acb98cf 1 parent 15af128
@nickolaev nickolaev authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 config/toolchain
View
6 config/toolchain
@@ -377,15 +377,15 @@ cc_workaround () {
LSB_RELEASE=$(which lsb_release 2>/dev/null) || true
if ! [ -z "$LSB_RELEASE" ]; then
DISTRO=$(lsb_release -s -c)
- if [ "$DISTRO" = oneiric -o "$DISTRO" = precise ]; then
+ if [ "$DISTRO" = quantal -o "$DISTRO" = oneiric -o "$DISTRO" = precise ]; then
CC_VERSION=$($LOCAL_CC --version | head -n 1 | sed "s%gcc (.*) \([0-9]\.[0-9]\).*%\1%")
- if [ "$CC_VERSION" = 4.6 -o "$CC_VERSION" = 4.5 ]; then
+ if [ "$CC_VERSION" = 4.7 -o "$CC_VERSION" = 4.6 -o "$CC_VERSION" = 4.5 ]; then
CC_44=$(which gcc-4.4) || true
[ -z "$CC_44" ] && cc_die gcc || export LOCAL_CC=$CC_44
fi
CXX_VERSION=$($LOCAL_CXX --version | head -n 1 | sed "s%g++ (.*) \([0-9]\.[0-9]\).*%\1%")
- if [ "$CXX_VERSION" = 4.6 -o "$CXX_VERSION" = 4.5 ]; then
+ if [ "$CXX_VERSION" = 4.7 -o "$CXX_VERSION" = 4.6 -o "$CXX_VERSION" = 4.5 ]; then
CXX_44=$(which g++-4.4) || true
[ -z "$CXX_44" ] && cc_die g++ || export LOCAL_CXX=$CXX_44
fi
Please sign in to comment.
Something went wrong with that request. Please try again.