trying to fix OSX Homebrew installation of gcc4.8
This commit is contained in:
parent
790044981a
commit
a72fd9fdbe
@ -19,6 +19,7 @@ script:
|
|||||||
# On OSX, gcc is a wrapper around clang, so use gcc from homebrew
|
# On OSX, gcc is a wrapper around clang, so use gcc from homebrew
|
||||||
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]] && [[ "${CC}" == "gcc" ]]; then
|
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]] && [[ "${CC}" == "gcc" ]]; then
|
||||||
brew install gcc48;
|
brew install gcc48;
|
||||||
|
brew link --overwrite gcc@4.8;
|
||||||
export CC=gcc-4.8;
|
export CC=gcc-4.8;
|
||||||
export CXX=g++-4.8;
|
export CXX=g++-4.8;
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user