Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
try them binutils
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn committed Oct 15, 2018
1 parent 5f3759a commit 2732fca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,16 @@ addons:
packages:
- gcc-5
- g++-5
- binutils-2.26

before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export CXX="g++-5" CC="gcc-5"
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-5 100
sudo update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-5 100
export PATH=/usr/lib/binutils-2.26/bin:${PATH}
fi
install:
Expand Down

0 comments on commit 2732fca

Please sign in to comment.