Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

config/toolchain: support ubuntu quantal

  • Loading branch information...
commit 2728aa265941a30fe3ba2109f2a0769f5acb98cf 1 parent 15af128
nickolaev nickolaev authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 config/toolchain
6 config/toolchain
@@ -377,15 +377,15 @@ cc_workaround () {
377 377 LSB_RELEASE=$(which lsb_release 2>/dev/null) || true
378 378 if ! [ -z "$LSB_RELEASE" ]; then
379 379 DISTRO=$(lsb_release -s -c)
380   - if [ "$DISTRO" = oneiric -o "$DISTRO" = precise ]; then
  380 + if [ "$DISTRO" = quantal -o "$DISTRO" = oneiric -o "$DISTRO" = precise ]; then
381 381 CC_VERSION=$($LOCAL_CC --version | head -n 1 | sed "s%gcc (.*) \([0-9]\.[0-9]\).*%\1%")
382   - if [ "$CC_VERSION" = 4.6 -o "$CC_VERSION" = 4.5 ]; then
  382 + if [ "$CC_VERSION" = 4.7 -o "$CC_VERSION" = 4.6 -o "$CC_VERSION" = 4.5 ]; then
383 383 CC_44=$(which gcc-4.4) || true
384 384 [ -z "$CC_44" ] && cc_die gcc || export LOCAL_CC=$CC_44
385 385 fi
386 386
387 387 CXX_VERSION=$($LOCAL_CXX --version | head -n 1 | sed "s%g++ (.*) \([0-9]\.[0-9]\).*%\1%")
388   - if [ "$CXX_VERSION" = 4.6 -o "$CXX_VERSION" = 4.5 ]; then
  388 + if [ "$CXX_VERSION" = 4.7 -o "$CXX_VERSION" = 4.6 -o "$CXX_VERSION" = 4.5 ]; then
389 389 CXX_44=$(which g++-4.4) || true
390 390 [ -z "$CXX_44" ] && cc_die g++ || export LOCAL_CXX=$CXX_44
391 391 fi

0 comments on commit 2728aa2

Please sign in to comment.
Something went wrong with that request. Please try again.