Skip to content

Commit

Permalink
Installes gcc-4.8 as default gcc
Browse files Browse the repository at this point in the history
Issue: #65
  • Loading branch information
kpp committed Mar 19, 2015
1 parent 8311101 commit 5e5a7a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis/linux/install-dependencies.sh
Expand Up @@ -7,3 +7,9 @@ sudo apt-get install -y \
g++-4.8-multilib \
libreadline-dev:i386 \
llvm-3.3-dev:i386

if [ "$CXX" = "g++" ]; then
sudo apt-get install -y gcc-4.8 g++-4.8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
fi

0 comments on commit 5e5a7a2

Please sign in to comment.