trying to fix OSX Homebrew installation of gcc4.8

This commit is contained in:
Dima Pasechnik 2017-11-30 13:55:03 +00:00
parent 790044981a
commit a72fd9fdbe

View File

@ -19,6 +19,7 @@ script:
# On OSX, gcc is a wrapper around clang, so use gcc from homebrew
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]] && [[ "${CC}" == "gcc" ]]; then
brew install gcc48;
brew link --overwrite gcc@4.8;
export CC=gcc-4.8;
export CXX=g++-4.8;
fi